---------------------------------------------FLASHER RELAY--------------------------------------------------------------------

Controller = script.Parent.Parent.ControllerTimings
Flash1 = Controller.FlashTime1.Value
Flash2 = Controller.FlashTime2.Value
while true do
    wait()
    if script.Parent.Parent.SignalValues.CrossingFlash.Value == true then
        script.Parent.Parent.SignalValues.LightController.Value = 1
        wait(Flash1)
		script.Parent.Parent.SignalValues.LightController.Value = 2
        wait(Flash2)
    else
		script.Parent.Parent.SignalValues.LightController.Value = 0
    end
end

