How do I make this script remove CharacterMeshes?
01 | game.Players.PlayerAdded:connect( function (player) |
02 | player.CharacterAdded:connect( function (character) |
04 | for i, v in pairs (character:GetChildren()) do |
05 | if v:IsA( "CharacterMesh" ) then |
So what this script is s'posed to do is remove CharacterMeshes from a player once they enter the game, if they have any. For some reason it doesn't work. (I based this off of an older script I had that removed hats)
I think there's a problem in the end
s but it may also be the other parts of the script. Thanks in advance.