Advertisement
Poook

dsadas

Jun 19th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i,v in pairs (game.Workspace:GetChildren()) do
  2. gh=math.random(0,255)
  3. dh=math.random(0,255)
  4. mh=math.random(0,255)
  5. if v.ClassName == "Part" then
  6. v.Material = "Concrete"
  7. if math.random(1,2) ==1 then
  8. v.Color = Color3.fromRGB(gh,mh,dh)
  9. v.Material = "Concrete"
  10. else
  11. v.Color = Color3.fromRGB(gh,mh,dh)
  12. end
  13. end
  14. if v.ClassName == "Model" then
  15. for i,u in pairs (v:GetChildren()) do
  16. gh=math.random(0,255)
  17. dh=math.random(0,255)
  18. mh=math.random(0,255)
  19. if u.ClassName == "Part" then
  20.  
  21.  
  22.  
  23. if math.random(1,2) ==1 then
  24. u.Color = Color3.fromRGB(gh,mh,dh)
  25. u.Material = "Concrete"
  26. else
  27. u.Color = Color3.fromRGB(gh,mh,dh)
  28. end
  29.  
  30.  
  31.  
  32. end
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement