
Keyless

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")
local playerGui = player:WaitForChild("PlayerGui")
-- GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
local button = Instance.new("ImageButton")
button.Parent = screenGui
button.Size = UDim2.new(0, 60, 0, 60)
button.Position = UDim2.new(1, -70, 0, 10)
button.Image = "rbxassetid://0"
-- Peach color 🧡
button.BackgroundColor3 = Color3.fromRGB(255, 183, 153)
button.BackgroundTransparency = 0
button.Visible = true
local uicorner = Instance.new("UICorner")
uicorner.CornerRadius = UDim.new(1, 0)
uicorner.Parent = button
-- Text label
local buttonLabel = Instance.new("TextLabel")
buttonLabel.Parent = button
buttonLabel.Size = UDim2.new(1, 0, 1, 0)
buttonLabel.BackgroundTransparency = 1
buttonLabel.Text = "Glide"
buttonLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
buttonLabel.TextSize = 14
buttonLabel.Font = Enum.Font.SourceSansBold
-- Glide logic
local falling = false
local originalGravity = workspace.Gravity
local bodyVelocity
-- Animation (UPDATED ID)
local glideAnim = Instance.new("Animation")
glideAnim.AnimationId = "rbxassetid://80006922243716"
local glideTrack
local function toggleFall()
falling = not falling
if falling then
workspace.Gravity = originalGravity * 0.1
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, -2, 0)
bodyVelocity.MaxForce = Vector3.new(0, math.huge, 0)
bodyVelocity.Parent = hrp
if not glideTrack then
glideTrack = humanoid:LoadAnimation(glideAnim)
end
if not glideTrack.IsPlaying then
glideTrack:Play()
end
buttonLabel.Text = "Glide (ON)"
else
workspace.Gravity = originalGravity
if bodyVelocity then
bodyVelocity:Destroy()
bodyVelocity = nil
end
if glideTrack and glideTrack.IsPlaying then
glideTrack:Stop()
end
buttonLabel.Text = "Glide"
end
end
button.MouseButton1Click:Connect(toggleFall)No comments yet for this script.