Universal Script 📌
376 Views
82 Executions

NoClip

Universal Script 📌
SlimTrix
SlimTrixFirst script
8 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

View Raw
  local Players = game:GetService("Players")
  local PhysicsService = game:GetService("PhysicsService")
  
  pcall(function()
    PhysicsService:CreateCollisionsGroup("NoClip")
  end)
  
  PhysicsService:CollisionGroupSetCollidable("NoClip", "Default", false)
  
  local function setNoClip(character, enabled)
    for _, part in ipairs(character:GetDescendants()) do
      if part:IsA("BasePart") then
        if enabled then 
            PhysicsService:SetPartCollisionGroup(part, "NoClip")
        else
            PhysicsService:SetPartCollisionGroup(part, "Default")
        end
     end
  end
end

  Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
      wait(1)
      local noclipEnabled = true
      setNoClip(character, noclipEnabled)
  end)
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
172.0k
108.0k
Bumped 2 hours ago
Script hub
5.5M
1.0M
Bumped 5 hours ago
Key System
Script hub
150.5k
463.0k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Script hub
3.3k
3.8k
Bumped 7 hours ago
Key System
Universal Script 📌
834
799
Bumped 8 hours ago