Hello, i am developing a customization menu and you can choose your hair,eyes,acessories but i don't have idea about how to remove player currently acessories and hair.
Who can help me? PLZ :D
PS: R15 Version / Sorry... bad english.
Hello, i am developing a customization menu and you can choose your hair,eyes,acessories but i don't have idea about how to remove player currently acessories and hair.
Who can help me? PLZ :D
PS: R15 Version / Sorry... bad english.
You could do this:
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Accessory") then
v:Remove()
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
When i use your code, it remove the new player hair and not the old.. sad
Try making it where it removes the player's current accessories before adding the new one
try adding the function characteradded in a script
@Anubizx you need to add it at the very beginning of your script, or you could add it to a characteradded event like ^ said