I wanted to make it so players could walk through each other because since my game is on a 2d world I didn't want players getting stuck so I figured id make them un-collidable.
I tried this script but It didnt work XD
local player = game.Players.LocalPlayer
game.Players.PlayerAdded:connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.LeftFoot.CanCollide = false
player.Character.LeftHand.CanCollide = false
player.Character.LeftLowerArm.CanCollide = false
player.Character.LeftLowerLeg.CanCollide = false
player.Character.LeftUpperArm.CanCollide = false
player.Character.LeftUpperLeg.CanCollide = false
player.Character.LowerTorso.CanCollide = false
player.Character.RightFoot.CanCollide = false
player.Character.RightHand.CanCollide = false
player.Character.RightLowerArm.CanCollide = false
player.Character.RightLowerLeg.CanCollide = false
player.Character.RightUpperArm.CanCollide = false
player.Character.RightUpperLeg.CanCollide = false
player.Character.UpperTorso.CanCollide = false
player.Character.Head.CanCollide = false
player.Character.HumanoidRootPart.CanCollide = false
end
end)
Umm this is probably the worst way to try and solve this problem but I couldnt think of any other way to script it. Maybe you can?

6 comments
http://wiki.roblox.com/index.php?title=Disabling_Player-Player_Collisions
Oh... See I looked on the wiki but I couldnt find that one. Maybe I overlooked it, either way thank youuuuu!
You cannot set it to false else the player would fall through the game every time XD
I know I got it working its all good XD
Please add [SOLVED] in your question's name so people like me don't come in seeing if they can answer. kthx
Thunder I didnt want to because i was waiting for someone to answer so me and the guy who answered could both get some points.