
640 Views
33 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Idk just copy the script
-- LocalScript (StarterPlayerScripts)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
local flying = false
local speed = 60
local bodyVelocity
local bodyGyro
-- UI setup (mobile buttons)
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")
local upBtn = Instance.new("TextButton")
upBtn.Size = UDim2.new(0,100,0,100)
upBtn.Position = UDim2.new(1,-120,1,-220)
upBtn.Text = "UP"
upBtn.Parent = screenGui
local downBtn = Instance.new("TextButton")
downBtn.Size = UDim2.new(0,100,0,100)
downBtn.Position = UDim2.new(1,-120,1,-100)
downBtn.Text = "DOWN"
downBtn.Parent = screenGui
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0,120,0,50)
toggleBtn.Position = UDim2.new(0,20,1,-80)
toggleBtn.Text = "FLY"
toggleBtn.Parent = screenGui
local goingUp = false
local goingDown = false
upBtn.MouseButton1Down:Connect(function()
goingUp = true
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








