Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
char = player.Character player.CharacterAdded:()
humanoid = char:()
root = char:()
RunService = :()
UIS = :()
flying =
speed =
gui = .(, player.PlayerGui)
gui.ResetOnSpawn =
frame = .(, gui)
frame.Size = .(,,,)
frame.Position = .(,,,)
frame.BackgroundColor3 = .(,,)
.(,frame).CornerRadius = .(,)
top = .(, frame)
top.Size = .(,,,)
top.BackgroundColor3 = .(,,)
.(,top).CornerRadius = .(,)
title = .(, top)
title.Size = .(,-,,)
title.Position = .(,,,)
title.Text =
title.BackgroundTransparency =
title.TextColor3 = .(,,)
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
minimize = .(, top)
minimize.Size = .(,,,)
minimize.Position = .(,-,,-)
minimize.Text =
minimize.Font = .Font.GothamBold
minimize.TextSize =
minimize.TextColor3 = .(,,)
minimize.BackgroundColor3 = .(,,)
.(,minimize).CornerRadius = .(,)
close = .(, top)
close.Size = .(,,,)
close.Position = .(,-,,-)
close.Text =
close.Font = .Font.GothamBold
close.TextSize =
close.TextColor3 = .(,,)
close.BackgroundColor3 = .(,,)
.(,close).CornerRadius = .(,)
content = .(, frame)
content.Size = .(,,,-)
content.Position = .(,,,)
content.BackgroundTransparency =
flyButton = .(, content)
flyButton.Size = .(,-,,)
flyButton.Position = .(,,,)
flyButton.Text =
flyButton.Font = .Font.GothamBold
flyButton.TextSize =
flyButton.TextColor3 = .(,,)
flyButton.BackgroundColor3 = .(,,)
.(,flyButton).CornerRadius = .(,)
slider = .(, content)
slider.Size = .(,-,,)
slider.Position = .(,,,)
slider.BackgroundColor3 = .(,,)
.(,slider).CornerRadius = .(,)
knob = .(, slider)
knob.Size = .(,,,)
knob.BackgroundColor3 = .(,,)
.(,knob).CornerRadius = .(,)
speedLabel = .(, content)
speedLabel.Size = .(,,,)
speedLabel.Position = .(,,,)
speedLabel.BackgroundTransparency =
speedLabel.Text =
speedLabel.Font = .Font.Gotham
speedLabel.TextSize =
speedLabel.TextColor3 = .(,,)
bv
bg
conn
()
flying =
humanoid:(.HumanoidStateType.Physics)
bv = .(, root)
bv.MaxForce = .(,,)
bv.Velocity = .(,,)
bg = .(, root)
bg.MaxTorque = .(,,)
bg.P =
conn = RunService.RenderStepped:(()
flying
cam = .CurrentCamera
bg.CFrame = cam.CFrame
move = humanoid.MoveDirection
bv.Velocity = cam.CFrame.LookVector * move.Magnitude * speed
)
()
flying =
humanoid:(.HumanoidStateType.GettingUp)
conn conn:()
bv bv:()
bg bg:()
flyButton.MouseButton1Click:(()
flying
()
flyButton.Text =
flyButton.BackgroundColor3 = .(,,)
()
flyButton.Text =
flyButton.BackgroundColor3 = .(,,)
)
minimized =
minimize.MouseButton1Click:(()
minimized = minimized
content.Visible = minimized
minimized
frame.Size = .(,,,)
frame.Size = .(,,,)
)
close.MouseButton1Click:(()
gui:()
)
dragging =
knob.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
dragging =
)
UIS.InputEnded:((input)
input.UserInputType == .UserInputType.Touch
dragging =
)
UIS.InputChanged:((input)
dragging input.UserInputType == .UserInputType.Touch
pos = .(
(input.Position.X - slider.AbsolutePosition.X) / slider.AbsoluteSize.X,
,
)
knob.Position = .(pos,-,,)
speed = .( + (pos * ))
speedLabel.Text = ..speed
)
draggingUI =
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
top.InputBegan:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
draggingUI =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
draggingUI =
)
)
top.InputChanged:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
UIS.InputChanged:((input)
input == dragInput draggingUI
(input)
)
player = .Players.LocalPlayer
char = player.Character player.CharacterAdded:()
humanoid = char:()
root = char:()
RunService = :()
UIS = :()
flying =
speed =
gui = .(, player.PlayerGui)
gui.ResetOnSpawn =
frame = .(, gui)
frame.Size = .(,,,)
frame.Position = .(,,,)
frame.BackgroundColor3 = .(,,)
.(,frame).CornerRadius = .(,)
top = .(, frame)
top.Size = .(,,,)
top.BackgroundColor3 = .(,,)
.(,top).CornerRadius = .(,)
title = .(, top)
title.Size = .(,-,,)
title.Position = .(,,,)
title.Text =
title.BackgroundTransparency =
title.TextColor3 = .(,,)
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
minimize = .(, top)
minimize.Size = .(,,,)
minimize.Position = .(,-,,-)
minimize.Text =
minimize.Font = .Font.GothamBold
minimize.TextSize =
minimize.TextColor3 = .(,,)
minimize.BackgroundColor3 = .(,,)
.(,minimize).CornerRadius = .(,)
close = .(, top)
close.Size = .(,,,)
close.Position = .(,-,,-)
close.Text =
close.Font = .Font.GothamBold
close.TextSize =
close.TextColor3 = .(,,)
close.BackgroundColor3 = .(,,)
.(,close).CornerRadius = .(,)
content = .(, frame)
content.Size = .(,,,-)
content.Position = .(,,,)
content.BackgroundTransparency =
flyButton = .(, content)
flyButton.Size = .(,-,,)
flyButton.Position = .(,,,)
flyButton.Text =
flyButton.Font = .Font.GothamBold
flyButton.TextSize =
flyButton.TextColor3 = .(,,)
flyButton.BackgroundColor3 = .(,,)
.(,flyButton).CornerRadius = .(,)
slider = .(, content)
slider.Size = .(,-,,)
slider.Position = .(,,,)
slider.BackgroundColor3 = .(,,)
.(,slider).CornerRadius = .(,)
knob = .(, slider)
knob.Size = .(,,,)
knob.BackgroundColor3 = .(,,)
.(,knob).CornerRadius = .(,)
speedLabel = .(, content)
speedLabel.Size = .(,,,)
speedLabel.Position = .(,,,)
speedLabel.BackgroundTransparency =
speedLabel.Text =
speedLabel.Font = .Font.Gotham
speedLabel.TextSize =
speedLabel.TextColor3 = .(,,)
bv
bg
conn
()
flying =
humanoid:(.HumanoidStateType.Physics)
bv = .(, root)
bv.MaxForce = .(,,)
bv.Velocity = .(,,)
bg = .(, root)
bg.MaxTorque = .(,,)
bg.P =
conn = RunService.RenderStepped:(()
flying
cam = .CurrentCamera
bg.CFrame = cam.CFrame
move = humanoid.MoveDirection
bv.Velocity = cam.CFrame.LookVector * move.Magnitude * speed
)
()
flying =
humanoid:(.HumanoidStateType.GettingUp)
conn conn:()
bv bv:()
bg bg:()
flyButton.MouseButton1Click:(()
flying
()
flyButton.Text =
flyButton.BackgroundColor3 = .(,,)
()
flyButton.Text =
flyButton.BackgroundColor3 = .(,,)
)
minimized =
minimize.MouseButton1Click:(()
minimized = minimized
content.Visible = minimized
minimized
frame.Size = .(,,,)
frame.Size = .(,,,)
)
close.MouseButton1Click:(()
gui:()
)
dragging =
knob.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
dragging =
)
UIS.InputEnded:((input)
input.UserInputType == .UserInputType.Touch
dragging =
)
UIS.InputChanged:((input)
dragging input.UserInputType == .UserInputType.Touch
pos = .(
(input.Position.X - slider.AbsolutePosition.X) / slider.AbsoluteSize.X,
,
)
knob.Position = .(pos,-,,)
speed = .( + (pos * ))
speedLabel.Text = ..speed
)
draggingUI =
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
top.InputBegan:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
draggingUI =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
draggingUI =
)
)
top.InputChanged:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
UIS.InputChanged:((input)
input == dragInput draggingUI
(input)
)A fly script with gui

Universal