Hello. How do you delete accessories on the local player in a local script? Is it something like:
game.Players.LocalPlayer.CharacterAdded:Connect(function() local plr = game.Players.LocalPlayer.Character if plr.Accessory then --Not sure what to do at this part and after, I don't even think this is how you put it. Accessory:Destroy() --??? ... That can't be right... end end
I'm sure thats not how you do it. But any help from you is appreciated, thanks.
This is my way of doing it. If it doesn't work then I made an error on my end
game.Players.LocalPlayer.CharacterAdded:Connect(function() local plr = game.Players.LocalPlayer.Character for i, v in ipairs(plr.Character:GetChildren) do if v:IsA("Accessory") then v:Destroy() end end end