Universal Script 📌
395 Views
106 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
Script hub
4.0M
2.4M
Bumped 21 minutes ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 27+ supported Games

Script hub
197.3k
2.1M
Bumped 2 hours ago
Key System

Script hub

#21 this week

Verified script badgeAirflow HUB

Universal Script 📌
110
237
Approved 6 hours ago