How would I make 2 lines run at once in a script?
Look up coroutines. I don't know about single lines, but you can run several bits of code at the same time in the same script this way.
01 | coroutine.resume(coroutine.create( |
02 |
03 | function () |
04 | while wait() do |
05 | print ( "hey" ) |
06 | end |
07 | end |
08 |
09 | )) |
10 |
11 | coroutine.resume(coroutine.create( |
12 |
13 | function () |
14 | while wait() do |
15 | print ( "hi" ) |