
Key Required Verified

-- Press N to toggle noclip
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local noclip = false
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.N then
noclip = not noclip
print("Noclip:", noclip and "ON" or "OFF")
end
end)
RunService.Stepped:Connect(function()
if noclip and player.Character then
for _, part in ipairs(player.Character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end)No comments yet for this script.



