NewPlaer01005

Disco script roblox

Feb 9th, 2024
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | None | 0 0
  1. while true do
  2. task.wait(0.5)
  3. ts = game:GetService("TweenService")
  4. light = game:GetService("Lighting")
  5. light.Brightness = 0
  6. light.OutdoorAmbient = Color3.new (0,0,0)
  7. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  8. )
  9. properties = { ["Ambient"] = Color3.fromRGB(255,0,0)}
  10. tween = ts:Create(light, tweenINFO, properties)
  11. tween:Play()
  12. task.wait(2.5)
  13. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  14. )
  15. properties = { ["Ambient"] = Color3.fromRGB(255,255,0)}
  16. tween = ts:Create(light, tweenINFO, properties)
  17. tween:Play()
  18. task.wait(2.5)
  19. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  20. )
  21. properties = { ["Ambient"] = Color3.fromRGB(0,255,0)}
  22. tween = ts:Create(light, tweenINFO, properties)
  23. tween:Play()
  24. task.wait(2.5)
  25. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  26. )
  27. properties = { ["Ambient"] = Color3.fromRGB(0,255,255)}
  28. tween = ts:Create(light, tweenINFO, properties)
  29. tween:Play()
  30. task.wait(2.5)
  31. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  32. )
  33. properties = { ["Ambient"] = Color3.fromRGB(0,0,255)}
  34. tween = ts:Create(light, tweenINFO, properties)
  35. tween:Play()
  36. task.wait(2.5)
  37. tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
  38. )
  39. properties = { ["Ambient"] = Color3.fromRGB(255,0,255)}
  40. tween = ts:Create(light, tweenINFO, properties)
  41. tween:Play()
  42. end
Advertisement
Add Comment
Please, Sign In to add comment