runs.Stepped:Connect(function()
pcall(function()
if _G.AutoLevel then
local bodyGyro = humanoidRootPart:FindFirstChild("BodyGyro")
if not bodyGyro then
bodyGyro = Instance.new("BodyGyro")
bodyGyro.MaxTorque = Vector3.new(10000, 10000, 10000)
bodyGyro.D = 10
bodyGyro.P = 0
bodyGyro.Parent = humanoidRootPart
end
local bodyVelocity = humanoidRootPart:FindFirstChild("BodyVelocity")
if not bodyVelocity then
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.MaxForce = Vector3.new(10000, 10000, 10000)
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.Parent = humanoidRootPart
end
elseif not _G.AutoLevel then
local bg = humanoidRootPart:FindFirstChild("BodyGyro")
local bv = humanoidRootPart:FindFirstChild("BodyVelocity")
if bg then bg:Destroy() end
if bv then bv:Destroy() end
end
end)
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: