
658 Views
1.1k Executions
Fly script 2 0912
Universal Script 📌
Lightnin_700First script
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
...
-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
-- Player references
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")
-- GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FlyToggleUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local button = Instance.new("TextButton")
button.Name = "ToggleButton"
button.Size = UDim2.new(0, 30, 0, 30)
button.Position = UDim2.new(0, 20, 0, 100)
button.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
button.Text = "🦇" -- Bat emoji
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.SourceSansBold
button.TextScaled = true
button.Active = true
button.Draggable = true
button.Parent = screenGui
-- Flying variables
local flying = false
local flyConnection
local flyBV, flyBG
local flySpeed = 100
local hoverAmplitude = 2
local hoverSpeed = 2
local hoverTime = 0
-- Update references on respawn
local function updateCharacter(newChar)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







