yonidrori

Untitled

Aug 24th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. for i = 1, 2 do
  2. local MacTonight = game:GetObjects('rbxassetid://450528575')[1]
  3. local Character = game:service('Players').LocalPlayer.Character
  4. local DeleteList = {'Shirt', 'Pants', 'ShirtGraphic', 'Hat', 'BodyColors'}
  5. local isInTable = function(table, value)
  6. for _, val in pairs(table) do
  7. if val == value then
  8. return true
  9. end
  10. end
  11. end
  12.  
  13. for _, v in pairs(Character:GetChildren()) do
  14. if isInTable(DeleteList, v.className) then
  15. v:Remove()
  16. elseif v:IsA'BasePart' then
  17. v.BrickColor = BrickColor.new('White')
  18. end
  19. end
  20.  
  21. MacTonight:Clone().Parent = Character
  22. wait(4)
  23. end
Add Comment
Please, Sign In to add comment