local redLight = game.Workspace.RedLight.PointLight wait (3) game.Workspace.RedLight.PointLight.Enabled = true wait (3) game.Workspace.RedLight.PointLight.Enabled = false game.Workspace.YellowLight.PointLight.Enabled = true wait (3) game.Workspace.YellowLight.PointLight.Enabled = false game.Workspace.GreenLight.PointLight.Enabled = true wait (5) game.Workspace.GreenLight.PointLight.Enabled = false end
The end is pointless unless if you have a function. I haven't tested it but you can try it.
local redLight = game.Workspace.RedLight.PointLight wait (3) game.Workspace.RedLight.PointLight.Enabled = true wait (3) game.Workspace.RedLight.PointLight.Enabled = false game.Workspace.YellowLight.PointLight.Enabled = true wait (3) game.Workspace.YellowLight.PointLight.Enabled = false game.Workspace.GreenLight.PointLight.Enabled = true wait (5) game.Workspace.GreenLight.PointLight.Enabled = false