Run it
Copy the script and paste it into your executor.
local ScreenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
local FlyBtn = Instance.new("TextButton", ScreenGui)
local UICorner = .(, FlyBtn)
FlyBtn.Name =
FlyBtn.Size = .(, , , )
FlyBtn.Position = .(, , , )
FlyBtn.Text =
FlyBtn.Draggable =
FlyBtn.BackgroundColor3 = .(, , )
FlyBtn.TextColor3 = .(, , )
FlyBtn.Font = .Font.SourceSansBold
FlyBtn.TextSize =
UICorner.CornerRadius = .(, )
plr = .Players.LocalPlayer
camera = .CurrentCamera
flying =
speed =
()
char = plr.Character
char
root = char:()
hum = char:()
bv = .(, root)
bv.MaxForce = .(, , )
bv.Velocity = .(, , )
bg = .(, root)
bg.MaxTorque = .(, , )
bg.P =
hum:(.HumanoidStateType.Swimming)
.(()
flying char root
moveDir = hum.MoveDirection
moveDir.Magnitude >
lookV = camera.CFrame.LookVector
rightV = camera.CFrame.RightVector
bv.Velocity = moveDir * speed
bv.Velocity = .(, , )
bg.CFrame = camera.CFrame
hum:(.HumanoidStateType.Swimming)
.()
bv:()
bg:()
hum:(.HumanoidStateType.GettingUp)
)
FlyBtn.MouseButton1Click:(()
flying = flying
flying
FlyBtn.Text =
FlyBtn.BackgroundColor3 = .(, , )
()
FlyBtn.Text =
FlyBtn.BackgroundColor3 = .(, , )
)
Fly

Universal