Universal Script 📌
643 Views
35 Executions

Lua fly chatgpt

Universal Script 📌
Enzo_682
Enzo_682First script
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Idk just copy the script

View Raw
-- 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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
146
459
Bumped 19 minutes ago
Key System
Universal Script 📌
1.3M
592.0k
Bumped 2 hours ago
Script hub
2.5k
19.5k
Bumped 3 hours ago
Universal Script 📌
301
603
Approved 5 hours ago
Universal Script 📌
77
859
Approved 5 hours ago
Universal Script 📌
106
96
Approved 6 hours ago