Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Timing Sequence GUI?

Asked by 10 years ago

I need help, please? while true do wait(1) script.Parent.Time.Value = script.Parent.Time.Value - 1 script.Parent.Text = "TIME: "..script.Parent.Time.Value.." " end

This is a local script inside the GUI Can someone help me with it?

1 answer

Log in to vote
0
Answered by 10 years ago

Erm. Retyping to my best knowledge of what you presented. If it fails, more than likely your item hierarchy is wrong.

Time = script.Parent.Time -- WAY more efficient doing this.
while true do
    wait(1)
    Time.Value = Time.Value - 1
    script.Parent.Text = "TIME: "..Time.Value.." "
end

Remember, this looks good to me. If it fails, it's VERY likely that your item hierarchy is wrong. Check your children and parents and hierarchy pathways.

I'm Aurum, and you're welcome. [+1 if I helped]

Ad

Answer this question