Advertisement
Unicornelias

Untitled

Jul 13th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1.  
  2. local BC = chara["Body Colors"]
  3. BC.HeadColor = BrickColor.new("Pastel brown")
  4. BC.LeftArmColor = BrickColor.new("Pastel brown")
  5. BC.LeftLegColor = BrickColor.new("Pastel brown")
  6. BC.RightArmColor = BrickColor.new("Pastel brown")
  7. BC.RightLegColor = BrickColor.new("Pastel brown")
  8. BC.TorsoColor = BrickColor.new("Pastel brown")
  9.  
  10. Team=function()
  11. local r=math.random(1,2)
  12.  
  13. if r==1 then
  14. print('RED')
  15. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  16. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  17. wait()shirt = Instance.new("Shirt", chara)
  18. shirt.Name = "Shirt"
  19. pants = Instance.new("Pants", chara)
  20. pants.Name = "Pants"
  21. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=288271067"
  22. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=185348215"
  23. end
  24.  
  25. if r==2 then
  26. print('RED')
  27. for i,v in pairs(chara:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end
  28. for i,v in pairs(chara:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  29. wait()shirt = Instance.new("Shirt", chara)
  30. shirt.Name = "Shirt"
  31. pants = Instance.new("Pants", chara)
  32. pants.Name = "Pants"
  33. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=288271067"
  34. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=185348215"
  35. end
  36. end
  37.  
  38. Team()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement