01 | local spotlightorange = workspace.OrangeLightSignal.SpotLight |
02 | local spotlightred = workspace.RedLightSignal.SpotLight |
03 | local spotlightgreen = workspace.GreenLightSignal.SpotLight |
04 | local function turnGreen() |
05 | workspace:WaitForChild( "GreenLightSignal" ).Material = Enum.Material.Neon |
06 | spotlightgreen.Enabled = true |
07 | workspace:WaitForChild( "OrangeLightSignal" ).Material = Enum.Material.SmoothPlastic |
08 | spotlightorange.Enabled = false |
09 | wait( 8 ) |
10 | end |
11 | local function turnOrange() |
12 | workspace:WaitForChild( "RedLightSignal" ).Material = Enum.Material.SmoothPlastic |
13 | spotlightred.Enabled = false |
14 | workspace:WaitForChild( "OrangeLightSignal" ).Material = Enum.Material.Neon |
15 | spotlightorange.Enabled = true |