Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I insert a script to make it work?

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

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!

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.