Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local camera = game.Workspace.CurrentCamera
-- Create the Fly Button GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local flyButton = Instance.new("TextButton")
flyButton.Size = UDim2.new(0, 200, 0, 50)
flyButton.Position = UDim2.new(0.5, -100, 0.9, -)
flyButton.Text =
flyButton.Parent = screenGui
flying =
()
flying = flying
flying
flyButton.Text =
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .(, , )
bodyVelocity.Parent = player.Character.HumanoidRootPart
flyButton.Text =
player.Character player.Character:()
_, obj (player.Character.HumanoidRootPart:())
obj:()
obj:()
flyButton.MouseButton1Click:(toggleFly)
sky = .()
sky.SkyboxBk =
sky.SkyboxDn =
sky.SkyboxFt =
sky.SkyboxLf =
sky.SkyboxRt =
sky.SkyboxUp =
sky.Parent = .LightingFly Enable Disable