i dont really know how to make a code for this, but maybe i could copy and paste with different numbers?
1 | print ( 1 ) |
2 | print ( 2 ) |
3 | print ( 3 ) |
4 | print ( 4 ) |
5 | print ( 5 ) |
6 | print ( 6 ) |
7 | print ( 7 ) |
8 | print ( 8 ) |
1 | for i = 1 , math.huge do -- makes a for loop that runs infinitely. |
2 | print (i) -- prints i (the number the loop is on, which will go on forever.) |
3 | wait(. 1 ) |
4 | end |
Hope this helped!
All you really have to do is this, i'd recommend learning the basics of ROBLOX Coding such as while loops.
01 | while true do |
02 | print ( 1 ) |
03 | wait( 0.5 ) -- I recommend having a wait, otherwise your game will most likely crash. |
04 | print ( 2 ) |
05 | wait( 0.5 ) |
06 | print ( 3 ) |
07 | wait( 0.5 ) |
08 | print ( 4 ) |
09 | wait( 0.5 ) |
10 | print ( 5 ) |
11 | wait( 0.5 ) |
12 | print ( 6 ) |
13 | wait( 0.5 ) |
14 | print ( 7 ) |
15 | wait( 0.5 ) |
16 | print ( 8 ) |
17 | wait( 0.5 ) |
This should work, let me know if it doesn't repeat.
If you mean like 10 t/m 1 or smth here is an example:
1 | for i = 10 , 1 , - 1 do |
2 | print (i) |
3 | wait( 1 ) -- Wait 1 sec for new number |
4 | end |