Advertisement
Poook

dd

Jun 19th, 2017
70
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.  
  7. v.Color = Color3.fromRGB(gh,mh,dh)
  8. v.Material = "Neon"
  9.  
  10. end
  11. if v.ClassName == "Model" then
  12. for i,u in pairs (v:GetChildren()) do
  13. gh=math.random(0,255)
  14. dh=math.random(0,255)
  15. mh=math.random(0,255)
  16. if u.ClassName == "Part" then
  17.  
  18.  
  19.  
  20.  
  21. u.Color = Color3.fromRGB(gh,mh,dh)
  22. u.Material = "Neon"
  23.  
  24.  
  25.  
  26. end
  27. end
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement