Universal Script 📌
1.2k Views
1.2k Executions

universal noclip

Universal Script 📌
leostar505
leostar505First script
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

noclip works with solara USE N AFTER EXECUTE

View Raw
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local noclipEnabled = false

-- Function to loop through character parts and turn off collisions
local function onStepped()
	if not noclipEnabled then return end
	
	local character = player.Character
	if character then
		for _, part in pairs(character:GetDescendants()) do
			if part:IsA("BasePart") and part.CanCollide == true then
				part.CanCollide = false 
			end
		end
	end
end

-- Toggle Logic
UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end
	
	if input.KeyCode == Enum.KeyCode.N then
		noclipEnabled = not noclipEnabled
		print("Noclip Test: " .. (noclipEnabled and "ENABLED" or "DISABLED"))
	end
end)

-- Connect to Stepped (Runs every physics frame)
-- We must do this constantly because Roblox tries to reset collisions automatically
RunService.Stepped:Connect(onStepped)


Comments

3
Log in to join the conversation. Login
leostar505's profile picture
leostar505Uploader8 months ago

no *

1
1errorrail's profile picture
1errorrail9 months ago

ai ahh script

1
SAIIHUB's profile picture
SAIIHUB9 months ago

A

1

Tags

More universal scripts

See all
Script hub
425.6k
815.6k
Bumped 56 minutes ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 71 Supported Games + OP!

Script hub
3.0M
387.8k
Bumped 56 minutes ago
Key System

Script hub

Hall of Fame #8

Verified script badgeOverflow #1 SAE, MM2 & More

Universal Script 📌
64
3
Approved 59 minutes ago
Universal Script 📌
162.3k
51.2k
Bumped 2 hours ago