#how to disable player collisions
1 messages · Page 1 of 1 (latest)
In todays video I show you how to make a highly requested script which disables player collisions. This script will make it so players can walk through each other compared to before where they couldn't. I Hope you enjoyed the video, Have a lovely rest of your day!
If you are a bit confused what to do, feel free to create a ticket in my discord ...
g
mm
Hilarious how the post and video titles perfectly match up
Bro had to simply google instead of posting 😭
local PhysicsService = game:GetService("PhysicsService");
local Players = game:GetService("Players");
PhysicsService:RegisterCollisionGroup("NoPlayerCollisions");
PhysicsService:CollisionGroupSetCollidable("NoPlayerCollisions","NoPlayerCollisions",false);
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
for _,Part in pairs(Character:GetChildren()) do
if Part:IsA("BasePart") then
Part.CollisionGroup = "NoPlayerCollisions";
end
end
end)
end)```
or secondary option
thanks
** You are now Level 9! **
where do i put this script