|
| 18 Sep 2014 05:24 PM |
I have it where i think it is supposed to put a letter for each box. It only puts it for 1. Here is the code:
local letters = script.Parent:WaitForChild("LettersMixed"):GetChildren() local mixer1 = {"E","P","K","R","S","L","A"}
for i,letters in pairs (letters) do if passed1 == false then for i=7,#mixer1 do if letters.Text == "Nil" then letters.Text = mixer1[i] letters.Name = mixer1[i] end end end end |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2014 05:26 PM |
local letters = script.Parent:WaitForChild("LettersMixed"):GetChildren() local mixer1 = {"E","P","K","R","S","L","A"}
for i,letters in pairs (letters) do if passed1 == false then while i ~= #mixer1 do if letters.Text == "Nil" then letters.Text = mixer1[i] letters.Name = mixer1[i] end end end end |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Sep 2014 05:31 PM |
| just tried it, didn't work |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 18 Sep 2014 05:32 PM |
| He's trolling. A simple glance at his script should have told you that... |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2014 05:36 PM |
I got his thing to work but again it is only does 1 still.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
murcury57
|
  |
| Joined: 30 Jun 2010 |
| Total Posts: 90299 |
|
| |
|
Deplexity
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 1965 |
|
|
| 18 Sep 2014 05:47 PM |
I think this is your problem:
for i=7,#mixer1 do
Because its starts at 7 and there are 7 letters in 'mixer1' (if i did my counting right), it will only run once. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2014 06:16 PM |
It still only shows up one letter on the box's.
It changed the letter of the first box though.
Check here to see it: http://www.roblox.com/SparkleOffs-Place-Number-37-place?id=176021994 STEP ON THE BRICK BEHIND YOU WHEN YOU SPAWN |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 18 Sep 2014 06:33 PM |
| ^ i said i already tried that. |
|
|
| Report Abuse |
|
|
| |
|
FireFume
|
  |
| Joined: 03 Aug 2012 |
| Total Posts: 1654 |
|
|
| 18 Sep 2014 06:58 PM |
| iv = index, value not value,index |
|
|
| Report Abuse |
|
|
| |
|
DukeCow
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 13176 |
|
|
| 18 Sep 2014 09:22 PM |
| u used variable i twice kiddo |
|
|
| Report Abuse |
|
|