So I do not know what I am doing wrong but I set the collision group of “Player” off but nothing works. I tried doing CharacterAppearanceLoaded and it still does not work.
Here is the code:
local PS = game:GetService("PhysicsService")
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
for i, object in pairs(char:GetDescendants()) do
if object:IsA('BasePart') then
print("works")
PS:SetPartCollisionGroup(object, "Player")
end
end
end)
end)