Air glitch
Key RequiredUniversal

Air glitch

Universal ScriptHavensSCPHavensSCP 928 views 186 executesUpdated Jan 24, 2026
Unrated
00
Lua Script•160 lines (4652 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")

local pl = Players.LocalPlayer
local playerGui = pl:WaitForChild("PlayerGui")

local screen = Instance.new("ScreenGui")
screen.Name = "AirGlitchSpeed"
screen.ResetOnSpawn = false
screen.Parent = playerGui

--== FRAME PRINCIPAL ==--
local frame = Instance.new("Frame", screen)
frame.Size = UDim2.new(0, 310, 0, 140)
frame.Position = UDim2.new(0.5, -155, 0.5, -70)
frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
frame.BackgroundTransparency = 0.15
frame.BorderSizePixel = 0
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.Active = true
frame.Draggable = true
frame.Name = "Main"

local corner = Instance.new("UICorner", frame)
corner.CornerRadius = UDim.new(0, 12)

local stroke = Instance.new("UIStroke", frame)
stroke.Color = Color3.fromRGB(90, 90, 255)
stroke.Thickness = 2
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border

--== TÍTULO ==--
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 32)
title.Position = UDim2.new(0, 0, 0, 4)
title.Text = "⚡ Air Glitch Speed ⚡"
title.Font = Enum.Font.GothamBold
title.TextSize = 20
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.BackgroundTransparency = 1

--== LINHA ==--
local line = Instance.new("Frame", frame)
line.Size = UDim2.new(1, -20, 0, 1)
line.Position = UDim2.new(0, 10, 0, 36)
line.BackgroundColor3 = Color3.fromRGB(80, 80, 255)
line.BorderSizePixel = 0

--== TOGGLE ==--
local toggle = Instance.new("TextButton", frame)
toggle.Size = UDim2.new(0.45, -10, 0, 38)
toggle.Position = UDim2.new(0.05, 0, 0, 55)
toggle.Text = "Toggle: OFF"
toggle.Font = Enum.Font.GothamMedium
toggle.TextSize = 18
toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
toggle.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
toggle.AutoButtonColor = false

local toggleCorner = Instance.new("UICorner", toggle)
toggleCorner.CornerRadius = UDim.new(0, 8)

local toggleStroke = Instance.new("UIStroke", toggle)
toggleStroke.Color = Color3.fromRGB(90, 90, 255)
toggleStroke.Thickness = 1.5

--== LABEL E TEXTBOX ==--
local textboxLabel = Instance.new("TextLabel", frame)
textboxLabel.Size = UDim2.new(0.45, -10, 0, 18)
textboxLabel.Position = UDim2.new(0.5, 0, 0, 55)
textboxLabel.Text = "Power Glitch:"
textboxLabel.Font = Enum.Font.Gotham
textboxLabel.TextSize = 15
textboxLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
textboxLabel.BackgroundTransparency = 1
textboxLabel.TextXAlignment = Enum.TextXAlignment.Left

local powerBox = Instance.new("TextBox", frame)
powerBox.Size = UDim2.new(0.45, -10, 0, 26)
powerBox.Position = UDim2.new(0.5, 0, 0, 75)
powerBox.PlaceholderText = "16"
powerBox.Text = ""
powerBox.ClearTextOnFocus = false
powerBox.Font = Enum.Font.Gotham
powerBox.TextSize = 15
powerBox.TextColor3 = Color3.fromRGB(255, 255, 255)
powerBox.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
powerBox.BorderSizePixel = 0

local powerCorner = Instance.new("UICorner", powerBox)
powerCorner.CornerRadius = UDim.new(0, 6)

local powerStroke = Instance.new("UIStroke", powerBox)
powerStroke.Color = Color3.fromRGB(90, 90, 255)
powerStroke.Thickness = 1

--== VARIÁVEIS ==--
local enabled = false
local originalWalkSpeed = 16
local currentPower = 16

local function getHumanoid()
	local character = pl.Character
	if character then
		return character:FindFirstChildOfClass("Humanoid")
	end
	return nil
end

local function getPower()
	local n = tonumber(powerBox.Text)
	if n and n > 0 then
		return n
	end
	local ph = tonumber(powerBox.PlaceholderText)
	if ph then return ph end
	return 16
end

--== FUNÇÕES ==--
toggle.MouseButton1Click:Connect(function()
	enabled = not enabled
	if enabled then
		toggle.Text = "Toggle: ON"
		toggle.BackgroundColor3 = Color3.fromRGB(60, 60, 255)
		local h = getHumanoid()
		if h then
			originalWalkSpeed = h.WalkSpeed or 16
		end
	else
		toggle.Text = "Toggle: OFF"
		toggle.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
		local h = getHumanoid()
		if h then
			h.WalkSpeed = originalWalkSpeed
		end
	end
end)

powerBox.FocusLost:Connect(function()
	currentPower = getPower()
end)

RunService.Heartbeat:Connect(function()
	if not enabled then return end
	local h = getHumanoid()
	if not h or not h.Parent then return end
	currentPower = getPower()
	local inAir = false
	local state = h:GetState()
	if state == Enum.HumanoidStateType.Freefall or state == Enum.HumanoidStateType.FallingDown or state == Enum.HumanoidStateType.Jumping then
		inAir = true
	end
	if inAir then
		h.WalkSpeed = (originalWalkSpeed or 16) + currentPower
	else
		h.WalkSpeed = originalWalkSpeed or 16
	end
end)

Features & Information

Glitch bro

Community Comments (2)

dolteddowndolteddownJan 24, 2026

dear god what is that photo

DisflamDisflamFeb 21, 2026

That photo lowk tuff (i found it after google lensing it trying to find the original

More Scripts for Universal Scripts