Advertisement
BobMe

Rainbow Brick

Jan 13th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. for i,v in pairs(game.Players:GetChildren()) do
  2. v.Chatted:Connect(function(msg)
  3. if msg:sub(1,6):lower() == "/e beg" then
  4. coroutine.resume(coroutine.create(function()
  5. water = workspace.Memo1332.WeaponModel.BlinkPartR
  6. water2 = workspace.Memo1332.WeaponModel.BlinkPartL
  7. water3 = workspace.Memo1332.WeaponModel.Wings
  8. while wait() do
  9. for i = 0,256,16 do
  10. water.Color = Color3.new(1,i/256,0)
  11. water2.Color = Color3.new(1,i/256,0)
  12. water3.Color = Color3.new(1,i/256,0)
  13. wait()
  14. end
  15. for i = 0,256,16 do
  16. water.Color = Color3.new(1-i/256,1,0)
  17. water2.Color = Color3.new(1-i/256,1,0)
  18. water3.Color = Color3.new(1-i/256,1,0)
  19. wait()
  20. end
  21. for i = 0,256,16 do
  22. water.Color = Color3.new(0,1,i/256)
  23. water2.Color = Color3.new(0,1,i/256)
  24. water3.Color = Color3.new(0,1,i/256)
  25. wait()
  26. end
  27. for i = 0,256,16 do
  28. water.Color = Color3.new(0,1-i/256,1)
  29. water2.Color = Color3.new(0,1-i/256,1)
  30. water3.Color = Color3.new(0,1-i/256,1)
  31. wait()
  32. end
  33. for i = 0,256,16 do
  34. water.Color = Color3.new(i/256,0,1)
  35. water2.Color = Color3.new(i/256,0,1)
  36. water3.Color = Color3.new(i/256,0,1)
  37. wait()
  38. end
  39. for i = 0,256,16 do
  40. water.Color = Color3.new(1,0,1-i/256)
  41. water2.Color = Color3.new(1,0,1-i/256)
  42. water3.Color = Color3.new(1,0,1-i/256)
  43. wait()
  44. end
  45. end
  46. end))
  47. end
  48. end)
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement