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

How do I use this script?

Asked by 11 years ago
1values = {"3298135","9218581","4039018","6012616",nil}
2if Game.StarterGui.GUI.Frame.Unlocked.Value==true then
3 for _,v in pairs(values) do
4     script.Parent.Text=v
5     wait(0.2)
6 end
7   script.Parent.Text=script.Parent.Lol.Value

I am trying to make a system that goes through the numbers for the text, and then makes *script.Parent.Lol.Value * the Text.

0
Sorry, if not enough details /\ So, here are the details: When I run this script, It keeps going through the for loop, and never exits. How do I make it exit to execute script.Parent.Text=script.Parent.Lol.Value? unix_system 55 — 11y

1 answer

Log in to vote
0
Answered by 11 years ago

I don't think you need a "nil" at the end of your table 'values'.

0
Still doesn't work unix_system 55 — 11y
Ad

Answer this question