Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. local TweenService = game:GetService("TweenService")
  2. local part = script.Parent
  3.  
  4. local tweenInfo = TweenInfo.new(
  5.     2,
  6.     Enum.EasingStyle.Linear,
  7.     Enum.EasingDirection.Out,
  8.     0,
  9.     true,
  10.     0
  11. )
  12.  
  13. local propertyGoals = {Color = Color3.new(9 / 255, 137/ 255, 207/ 255)}
  14. local propertyGoals2 = {Color = Color3.new(196/ 255, 40/ 255, 28/ 255)}
  15. local tween = TweenService:Create(part,tweenInfo,propertyGoals)
  16. local tween2 = TweenService:Create(part,tweenInfo,propertyGoals2)
  17. while true do
  18.     tween:Play()
  19.     wait(2)
  20.     tween2:Play()
  21.     wait(2)
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement