This is what I have tried so far there is probably an obvious mistake here somewhere lol.
while true do script.Parent.Brightness = 1 script.Parent.TintColor = Color3.new(170, 85, 255) wait(3) script.Parent.Brightness = 1 script.Parent.TintColor = Color3.new(85, 85, 255) wait(3) script.Parent.Brightness = 1 script.Parent.TintColor = Color3.new(255, 170, 255) wait(3) end
Seems light your trying to use a Script
under game.Lighting
.
Scripts do not run under this I will suggest having the script in game.ServerScriptService
and then in the script have a variable going to the ColorCorrectionEffect
Ex:
local colorCorrection = game.Lighting:FindFirstChildOfClass("ColorCorrectionEffect") while true do colorCorrection.Brightness = 1 colorCorrection.TintColor = Color3.fromRGB(170, 85, 255) wait(3) colorCorrection.Brightness = 1 colorCorrection.TintColor = Color3.fromRGB(85, 85, 255) wait(3) colorCorrection.Brightness = 1 colorCorrection.TintColor = Color3.fromRGB(255, 170, 255) wait(3) end