InfMods

easy rainbow loop part script

Sep 24th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. step 1: create part
  2. step 2: add local script to part
  3. step 3: paste script into localScript
  4.  
  5. --Made by lceyDex--
  6. -- This is a simple looping rainbow part script --
  7.  
  8. while true do
  9.  
  10. wait(0.1)
  11. game:GetService('TweenService'):Create(
  12. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  13. {Color = Color3.fromRGB(255, 0, 0)}):Play()
  14. wait(1.1)
  15.  
  16. game:GetService('TweenService'):Create(
  17. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  18. {Color = Color3.fromRGB(255, 155, 0)}):Play()
  19. wait(1.1)
  20.  
  21. game:GetService('TweenService'):Create(
  22. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  23. {Color = Color3.fromRGB(255, 255, 0)}):Play()
  24. wait(1.1)
  25.  
  26. game:GetService('TweenService'):Create(
  27. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  28. {Color = Color3.fromRGB(0, 255, 0)}):Play()
  29. wait(1.1)
  30.  
  31. game:GetService('TweenService'):Create(
  32. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  33. {Color = Color3.fromRGB(0, 255, 255)}):Play()
  34. wait(1.1)
  35.  
  36. game:GetService('TweenService'):Create(
  37. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  38. {Color = Color3.fromRGB(0, 155, 255)}):Play()
  39. wait(1.1)
  40.  
  41. game:GetService('TweenService'):Create(
  42. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  43. {Color = Color3.fromRGB(255, 0, 255)}):Play()
  44. wait(1.1)
  45.  
  46. game:GetService('TweenService'):Create(
  47. script.Parent,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
  48. {Color = Color3.fromRGB(255, 0, 155)}):Play()
  49. wait(1.1)
  50. end
Advertisement
Add Comment
Please, Sign In to add comment