so i am using this script to set the character’s collision group:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
for _,part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then
part.CollisionGroup = "Player"
end
end
end)
end)
when i stand on noplayer, i can still stand on it. but when i set the cancolide on the legs it works, but it goes back to false after, any idea what i can do here?