Advertisement
dahpiglz

Untitled

Jun 8th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. player = game.Players.LocalPlayer
  2. character = player.Character
  3.  
  4.  
  5. for i,v in pairs(game.Workspace:GetChildren()) do
  6. if v:FindFirstChild("Humanoid") ~= nil then
  7. if v ~= character then
  8. for i,w in pairs(v:GetChildren()) do
  9. if w.ClassName == ("Accessory") or w.ClassName == ("Shirt") or w.ClassName == ("Pants") or w.ClassName == ("ShirtGraphic") then
  10. w:Destroy()
  11. elseif w.ClassName == ("Part") then
  12. w.BrickColor = BrickColor.new("Institutional white")
  13. end
  14. end
  15. local newshirt = character.Shirt:Clone()
  16. newshirt.Parent = v
  17. local newpants = character.Pants:Clone()
  18. newpants.Parent = v
  19. end
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement