
Key Required

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 not player.Character then return end
for _, part in ipairs(player.Character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = not noclip
end
end
end)No comments yet for this script.



