✓ Accepted answer
##Question
Is there a way to go to a specific line?
##Answer
Not in lua 5.1.x. Though in 5.2.x+ there is a GOTO statement I think
###Solution To Problem
We can use a loop of some sort. Based of this wording "repeat line unless the variable is true" we can use a repeat x until y or we can use while y do x end
I believe repeat sounds better in this case.
local parent = script.Parent
local doubleParent = parent.Parent
local valueObject = doubleParent.Value
local value = valueObject.Value
local ee = true
repeat
value = valueObject.Value
wait()
until value == 0
ee = false
9 comments
Just do “repeat wait() script.Parent.Parent.Parent.Value.Value = 0 until ee == true”
It’ll also be a good idea to look up loops on the wiki
Dragon, I don't think your code matches up with what he is asking.
stop repeating the same question
The last question answer was wrong.
there is still no need for a duplicate, multiple people can answer the same question
I accidentally pressed delete trying to edit
Also i wrote the question wronf
Sorry for wrong spellings and sorry for repeating the question