Hello!
How can I remove my accesories when i load into the game permanently ? So I would remain empty; just with my body parts.
Thanks in advance.
Hello!
How can I remove my accesories when i load into the game permanently ? So I would remain empty; just with my body parts.
Thanks in advance.
Please upvote and mark this as the answer. Put the code into a Script in ServerScriptService.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAppearanceLoaded:Wait()
for i, v in pairs(player.Character:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
end
end)
Thanks !!
I can't upvote since this acc is new.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Use GetDescendants and loop through the player. Really simple.
You should not loop through the player with GetDescendants. That would not work-- check my answer below.