--[iLegimate]-- Player = game.Players.LocalPlayer BodyParts = Player:GetChildren() for i,b in pairs("BodyParts") do if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then b:Remove() else return nil end end
I tried that but its saying :
19:16:43.290 - Script 'Players.Player.Backpack.PlayerConfiguration', Line 8 19:16:43.291 - Stack End
Can anyone help,Im basically trying to do,Once the player's character has loaded,It runs the scrpt and if it finds any packages,shirts,pants or t-shirts then it removes them.
-- The problem is the script seen the " and started to run the table as a string, but you need it to run a table so all you need to do is remove the " Player = game.Players.LocalPlayer BodyParts = Player:GetChildren() for i,b in pairs(BodyParts) do if b.className == "CharacterMesh" or b.className == "Shirt" or b.className == "Pants" or b.className == "ShirtGraphic" then b:remove() else end end