Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make this script remove CharacterMeshes?

Asked by 8 years ago
    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.

0
You need to add one more end. Also, give the final two ends ')' on the end. TheDeadlyPanther 2460 — 8y
0
So add one more and set the give the final ends a close parentheses? Dried_Umeboshi 15 — 8y
0
I did that and it worked. thanks Dried_Umeboshi 15 — 8y

Answer this question