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 use this script?

	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.

1 comment

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?

1 answer

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

1 comment

0

Still doesn't work

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