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

How do I insert a script to make it work?

Asked by 10 years ago

Example : --Start counting.

2 for a=50,1,-1 do

3 --Some relayer here like gui.TextLabel.Text=a.." seconds left"

4 print(a)

5 wait(1)

6 end

7 --Some relayer here like gui.TextLabel.Text="0 seconds left"

8 print('0')

9 --What to do after timer hits.


What do I do to make that work?

3 answers

Log in to vote
0
Answered by 10 years ago

Check Line 1. It's effecting Line 5.

Ad
Log in to vote
0
Answered by
samfun123 235 Moderation Voter
10 years ago

If you just inserted that code with some changes that would fine as a script

for a = 50,1,-1 do
    print(a)
    wait(1)
end 
print("0")

If you have any questions, concerns or just need some help with this PM me on ROBLOX!

Log in to vote
-4
Answered by 10 years ago

I didn't even make the script, it was an example. But how do I insert a script.

Do I just go into Advanced Objects in studio, insert a script, and paste it in? Done.? Or how would I actually make it work, run, not break, and like yeah.

Answer this question