function charactersetup(player, character) for _, v in pairs(character:GetChildren()) do if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then v:Destroy() end end end game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) charactersetup(player, character) end) if player.Character and player.Character.Parent then charactersetup(player, player.Character) end end)
This is an odd bug. Sometimes it gets rid of none of the characters stuff, sometimes it gets rid of a few things. How can I get it to destroy EVERYTHING
if you wish to destroy EVERYTHING, shirts, pants, and hats then use this
function charactersetup(player, character) game:GetService("Players"):GetPlayerFromCharacter(character):ClearCharacterAppearance() --Note: This will destroy EVERYTHING! Including the bodycolors and such. --However it doesn't remove t-shirts, head meshes, or faces. end game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) charactersetup(player, character) end) if player.Character and player.Character.Parent then charactersetup(player, player.Character) end end)