--[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
#1 bad arguments to 'pairs' (table expected,got string)
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.

3 comments
This script will also need to be in StarterGui or Starterpack in order to run correctly.
Startergui = Playergui and Starterpack = Backpack if you didnt know. ;D
Ty