Grove537
|
  |
| Joined: 05 Feb 2010 |
| Total Posts: 3478 |
|
|
| 13 Oct 2013 05:32 PM |
Can you set while true do to a variable? for example:
While shared["itty"] ~= nil do
Or is there another way to go about doing this? Since this way doesn't seem to work for me. |
|
|
| Report Abuse |
|
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 13 Oct 2013 05:35 PM |
Of course you can.
It's not 'while true do'
It's 'while expression do'
If the expression doesn't result in false or nil then the block will execute. Maybe because you are writing while with uppercase. |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 13 Oct 2013 05:36 PM |
You mean While shared:FindFirstChild'itty' do
Right? If it's not true, then it would skip then entire thing.
|
|
|
| Report Abuse |
|
|