Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- task.wait(0.5)
- ts = game:GetService("TweenService")
- light = game:GetService("Lighting")
- light.Brightness = 0
- light.OutdoorAmbient = Color3.new (0,0,0)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(255,0,0)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- task.wait(2.5)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(255,255,0)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- task.wait(2.5)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(0,255,0)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- task.wait(2.5)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(0,255,255)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- task.wait(2.5)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(0,0,255)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- task.wait(2.5)
- tweenINFO = TweenInfo.new( 2.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0
- )
- properties = { ["Ambient"] = Color3.fromRGB(255,0,255)}
- tween = ts:Create(light, tweenINFO, properties)
- tween:Play()
- end
Advertisement
Add Comment
Please, Sign In to add comment