local bv = Instance.new("BodyVelocity") bv.Velocity = Vector3.new(0, 0, 0) bv.Parent = character.HumanoidRootPart end
local function fly() local character = game.Players.LocalPlayer.Character local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid.PlatformStand = true end
local function noclipDisable() game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = true for _, child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do if child:IsA("BasePart") then child.CanCollide = true end end end
local function flyDisable() local character = game.Players.LocalPlayer.Character local humanoid = character:FindFirstChild("Humanoid") local bv = character.HumanoidRootPart:FindFirstChild("BodyVelocity")
if bv then bv:Destroy() end end
-- Configuration local noclipEnabled = false local flyEnabled = false
if humanoid then humanoid.PlatformStand = false end