I’m trying to replicate the game loop of the game Tower of Hell. My initial idea about the code is this…
while true do
for time = 8, 0, -1 do
print(time)
wait(1)
if time == 0 then
print("resetting...")
end
end
end
What are your thoughts about this?