i try using this it doesnt work
local RedLight = game.Workspace.StartLight.startLight.RedModel.LightBulb.PointLight local YellowLight = game.Workspace.StartLight.startLight.YellowModel.LightBulb.PointLight local GreenLight = game.Workspace.StartLight.startLight.GreenModel.LightBulb.PointLight wait(3) Enabled.RedLight = true wait(3) Enabled.RedLight = false wait(3) Enabled.YellowLight = true wait(3) Enabled.YellowLight = false wait(3) Enabled.GreenLight = true Enabled.GreenLight = false
There is your error : You reverse the Enabled
with your variables. Its like you write the variable was Enabled
Your Code :
local RedLight = game.Workspace.StartLight.startLight.RedModel.LightBulb.PointLight local YellowLight = game.Workspace.StartLight.startLight.YellowModel.LightBulb.PointLight local GreenLight = game.Workspace.StartLight.startLight.GreenModel.LightBulb.PointLight wait(3) Enabled.RedLight = true wait(3) Enabled.RedLight = false wait(3) Enabled.YellowLight = true wait(3) Enabled.YellowLight = false wait(3) Enabled.GreenLight = true Enabled.GreenLight = false
Code fix :
local RedLight = game.Workspace.StartLight.startLight.RedModel.LightBulb.PointLight local YellowLight = game.Workspace.StartLight.startLight.YellowModel.LightBulb.PointLight local GreenLight = game.Workspace.StartLight.startLight.GreenModel.LightBulb.PointLight wait(3) RedLight.Enabled = true wait(3) RedLight.Enabled = false wait(3) YellowLight .Enabled= true wait(3) YellowLight.Enabled = false wait(3) GreenLight.Enabled = true GreenLight.Enabled = false
If its helped you accept my awnser please for peoples see this question is done.
Sorry for my bad grammar ^o^
Hi...(im on mobile)this is a simple fix...Since you are using enabled you must use Variable.Enabled
local RedLight = game.Workspace.StartLight.startLight.RedModel.LightBulb.PointLight local YellowLight = game.Workspace.StartLight.startLight.YellowModel.LightBulb.PointLight local GreenLight = game.Workspace.StartLight.startLight.GreenModel.LightBulb.PointLight wait(3) RedLight.Enabled = true wait(3) RedLight.Enabled = false wait(3) YellowLight.Enabled = true wait(3) YellowLight.Enabled = false wait(3) GreenLight.Enabled = true Greenlight.Enabled = false
Hope this helped let me know if it did:)