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 9 years ago
    values = {"3298135","9218581","4039018","6012616",nil}
   if Game.StarterGui.GUI.Frame.Unlocked.Value==true then
    for _,v in pairs(values) do 
        script.Parent.Text=v
        wait(0.2)
    end
      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 — 9y

1 answer

Log in to vote
0
Answered by 9 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 — 9y
Ad

Answer this question