|
| 21 Nov 2017 12:03 PM |
The one who are using "While true do" and the one who are using "While wait() do"
Wich side are you? Reply it here! |
|
|
| Report Abuse |
|
|
Kiriyato
|
  |
| Joined: 15 Mar 2014 |
| Total Posts: 94 |
|
|
| 21 Nov 2017 12:05 PM |
| repeat ... until true == false |
|
|
| Report Abuse |
|
|
| |
|
E_Link
|
  |
| Joined: 27 Jul 2015 |
| Total Posts: 10 |
|
|
| 21 Nov 2017 12:43 PM |
While true do
All the way!
- Link [Head Developer @ Link Developers] |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2017 12:59 PM |
| Depends if you need the wait() at the end or the beginning of the loop. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2017 01:08 PM |
while (true) and wait() do print('It's a me MARIO!') end
This is Reality, NOT a Dream. |
|
|
| Report Abuse |
|
|
DevOverr
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 61 |
|
|
| 21 Nov 2017 01:10 PM |
or this one
ew who even does this one:
local RS = game:GetService('ReplicatedStorage') RS.stuff
-- or
game.ReplicatedStorage.stuff
(I don't know if I wrote the first one right as I don't use it.
|
|
|
| Report Abuse |
|
|
|
| 21 Nov 2017 01:16 PM |
It was a stupid joke , wait() is true
And yes you did it correctly ,
local RS = game:GetService('ReplicatedStorage')
This just makes the code looks nice and makes it easy to type
You can use game:FindService('ReplicatedStorage') << will return nil if the service does not exist
but
game:GetService('ReplicatedStorage') << will create the service if it does not exist and return the service if it does exist
using RS as a Variable is convenient because you only need to type RS rather than game:GetService('ReplicatedStorage') or game.ReplicatedStorage
This is Reality, NOT a Dream. |
|
|
| Report Abuse |
|
|
liuthemoo
|
  |
| Joined: 13 Jan 2016 |
| Total Posts: 109 |
|
|
| 21 Nov 2017 01:18 PM |
| While true ## # 100000000000000000000000000000000 |
|
|
| Report Abuse |
|
|