-- Apply NoClip local function setNoclip(state) for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = not state end end if state then rootPart.CanCollide = false else rootPart.CanCollide = true for part, original in pairs(originalCanCollide) do if part and part.Parent then part.CanCollide = original end end end end
This will only work in games or exploits that allow script execution (e.g., Synapse, Krnl, ScriptWare). Use only in private servers or single-player experiences to avoid bans. roblox noclip and fly script
-- Hotkey setup game:GetService("UserInputService").InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.X then toggleFly() elseif input.KeyCode == Enum.KeyCode.C then toggleNoclip() end end) -- Apply NoClip local function setNoclip(state) for _,
-- Save original CanCollide state for all body parts local function saveCollisionState() for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then originalCanCollide[part] = part.CanCollide end end end roblox noclip and fly script