game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
wait(1)
for i, v in pairs(character:GetChildren()) do
if v:IsA("CharacterMesh") then
v:Destroy()
end
end
end
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 ends but it may also be the other parts of the script. Thanks in advance.

3 comments
You need to add one more end. Also, give the final two ends ')' on the end.
So add one more and set the give the final ends a close parentheses?
I did that and it worked. thanks