ADVERTISEMENTREMOVE ADS

[OP] Universal noclip script

Universal script
4 months ago
Script preview thumbnail
Script Preview

Description

A simple noclip script that allows the user to walk through walls or other objects in almost all games.

Features:

  • noclip
  • toggle
  • keybind
ADVERTISEMENTREMOVE ADS
30 Lines • 938 Bytes
Verified
Raw
--// Starts off disabled
_G.key = "F" --// Key to toggle the noclip
--// Don't touch below unless you know what your doing
local plr = game:GetService("Players").LocalPlayer
local clip = false
local sc = nil
if not _G.exec then _G.exec = true else return print("Only execute once!") end
game:GetService("UserInputService").InputBegan:Connect(function(input, inchat)
if inchat then return end
if input.KeyCode == Enum.KeyCode[_G.key:upper()] then
clip = not clip
if clip then
sc = game:GetService("RunService").Stepped:Connect(function()
for _, part in pairs(game:GetService("Workspace")[plr.Name]:GetChildren()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end)
else
if sc then
sc:Disconnect()
sc = nil
end
end
end
end)
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS