Hello, I was just wondering on why this fire enable script is not working.
Please may you take a look?
local children = workspace.Mainframe_Status_Fire_Parts:GetChildren() for i = 1, #children do i, children[i].Fire.Enabled = true
This is how my module is set out:
Workspace Mainframe_Status_Fire_Parts One Fire Two Fire Three Fire Four Fire Five Fire Six Fire Seven Fire Eight Fire Nine Fire
You're close. You just forgot an end
, and you don't need the extra i
on line 3.
local children = workspace.Mainframe_Status_Fire_Parts:GetChildren() for i = 1, #children do children[i].Fire.Enabled = true end