markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
|
| 27 Aug 2014 07:43 PM |
| please tell me how i can make it so players dont collide with other players |
|
|
| Report Abuse |
|
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
|
| 27 Aug 2014 07:46 PM |
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function() for i,v in pairs(p.Character:GetChildren()) do if v:IsA("Part") then v.CanCollide = false end end end) end)
My script will make your player fall through the floor if no hats are present, sorry. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2014 07:47 PM |
put this in localscript wherever you want local plr = game.Players.LocalPlayer local chr = plr.Character chr.Torso.Touched:connect(function(hit) for i,v in pairs(chr:GetChildren()) do if not hit == v then hit:destroy() end end end)
That'll teach them not to touch each other! |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2014 07:50 PM |
found some errors with seth,
local plr = game.Players.LocalPlayer local chr = plr.Character chr.Torso.Touched:connect(function(hit) for i,v in pairs(chr:GetChildren()) do if hit == v then return end end hit:destroy() end) |
|
|
| Report Abuse |
|
|
markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
| |
|