Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
Player = Players.LocalPlayer
Player
()
playerGui = Player:(, )
playerGui
()
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = playerGui
(props)
f = .()
f.Size = props.Size .(,,,)
f.Position = props.Position .(,,,)
f.BackgroundColor3 = props.BackgroundColor3 .(,,)
f.BorderSizePixel =
f.Parent = gui
f
main = ({Size=.(,,,)})
title = .(, main)
title.Size = .(,,,)
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(,,)
title.TextScaled =
status = .(, main)
status.Size = .(,,,)
status.Position = .(,,,)
status.BackgroundTransparency =
status.Text =
status.TextColor3 = .(,,)
status.TextScaled =
speedLabel = .(, main)
speedLabel.Size = .(, -, , )
speedLabel.Position = .(, , , )
speedLabel.BackgroundTransparency =
speedLabel.Text =
speedLabel.TextColor3 = .(,,)
speedLabel.TextXAlignment = .TextXAlignment.Left
speedBox = .(, main)
speedBox.Size = .(, -, , )
speedBox.Position = .(, , , )
speedBox.Text =
speedBox.ClearTextOnFocus =
speedBox.TextScaled =
speedBox.TextColor3 = .(,,)
speedBox.BackgroundColor3 = .(,,)
speedBox.BorderSizePixel =
speedBox.PlaceholderText =
toggleBtn = .(, main)
toggleBtn.Size = .(,,,)
toggleBtn.Position = .(,,,-)
toggleBtn.Text =
toggleBtn.BackgroundColor3 = .(,,)
toggleBtn.TextColor3 = .(,,)
toggleBtn.BorderSizePixel =
unloadBtn = .(, main)
unloadBtn.Size = .(,,,)
unloadBtn.Position = .(,,,-)
unloadBtn.Text =
unloadBtn.BackgroundColor3 = .(,,)
unloadBtn.TextColor3 = .(,,)
unloadBtn.BorderSizePixel =
main.Active =
main.Draggable =
flySpeed =
flying =
bv, bg, renderConn
()
status.Text = .. (flying )
speedBox.Text = (.(flySpeed))
toggleBtn.Text = (flying )
toggleBtn.BackgroundColor3 = (flying .(,,) .(,,))
(enable)
char = Player Player.Character
char char:()
hrp = char.HumanoidRootPart
enable
bv bv.Parent bv:()
bg bg.Parent bg:()
renderConn renderConn:() renderConn =
bv = .()
bv.MaxForce = .(,,)
bv.Velocity = .(,,)
bv.Parent = hrp
bg = .()
bg.MaxTorque = .(,,)
bg.P =
bg.Parent = hrp
renderConn = RunService.RenderStepped:(()
flying
cam = .CurrentCamera
cam
look = cam.CFrame.LookVector
dir = look
dir.Magnitude > dir = dir.Unit
target = dir * flySpeed
target ~= target target = .(,,)
bv.Velocity = target
bg.CFrame = .(hrp.Position, hrp.Position + cam.CFrame.LookVector)
)
renderConn renderConn:() renderConn =
bv bv.Parent bv:()
bg bg.Parent bg:()
bv, bg = ,
toggleBtn.MouseButton1Click:(()
flying = flying
(flying)
()
)
unloadBtn.MouseButton1Click:(()
flying =
()
gui gui.Parent gui:()
)
(text)
n = (text)
n n <=
speedBox.Text = (.(.(, flySpeed)))
n > n =
flySpeed = n
()
speedBox.FocusLost:((enterPressed)
(speedBox.Text)
)
speedBox:():(()
n = (speedBox.Text)
n n >
flySpeed = n
)
keyConn = UserInputService.InputBegan:((input, gp)
gp
input.KeyCode == .KeyCode.E
flying = flying
(flying)
()
)
Players.PlayerRemoving:((p)
p == Player
renderConn renderConn:()
bv bv.Parent bv:()
bg bg.Parent bg:()
gui gui.Parent gui:()
)
()
Universal Fly script

Universal