| |
|
Zektrov
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 139 |
|
|
| 28 Feb 2015 10:17 PM |
print("Hello world!")
Classic much? |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:18 PM |
No. I don't print hello world, I print hi. The world can go 'svck it. Say hi. |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:18 PM |
print("Hello, world!")* lol |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:18 PM |
No. The world can die. Viva la hi! |
|
|
| Report Abuse |
|
|
| |
|
| |
|
IIIIIIlII
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 710 |
|
| |
|
T00NAMI
|
  |
| Joined: 10 Mar 2013 |
| Total Posts: 211 |
|
|
| 28 Feb 2015 10:27 PM |
local a = "h" local b = "i" local hi = a..""..b while true do print(hi) end |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:30 PM |
| T00N that'd kill me, you evil scripterer. You need a wait. :D |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:31 PM |
That won't work properly, it'l crash the client/server. You must add a wait() in forever loops.
while true do wait() end
or
while wait() do -- end |
|
|
| Report Abuse |
|
|
IIIIIIlII
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 710 |
|
| |
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 28 Feb 2015 10:34 PM |
uh
print(string.rep('hi',500))
billy mays here with special tv offer |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2015 10:34 PM |
You don't NEED a wait, you could always use a coroutine.yield() or some other random thing to stop it.
If you do while true do print() error() end it won't crash! :D |
|
|
| Report Abuse |
|
|
T00NAMI
|
  |
| Joined: 10 Mar 2013 |
| Total Posts: 211 |
|
|
| 01 Mar 2015 12:17 PM |
Sorry, was bored. Made this, wanted to share:
local a = "h" b = ("e") c = ""..'l'.."" d = 'l' e = [[o]]
while true do local doesThisScriptRustleYourJimmies9001 = math.random(1,1) local lel = doesThisScriptRustleYourJimmies9001 wait(lel) if a == "h" then if b == ("e") then if c == ""..'l'.."" then if d == 'l' then if e == [[o]] then print(""..a..""..b..""..c..""..d..""..e.."") end end end end end end |
|
|
| Report Abuse |
|
|