While true loop just does nothing

this just started happening today, and im not sure why, im trying to make a script which will increase the money every second, but the while loop didnt work, so i got rid of it, and tried a simple:

while true do
wait(1)
print(‘test’)
end

and what it gave me was:


ive never had this issue before, and im so confused as to what caused it

Does the script run, try printing before the loop.


yep, just the while loop that isn’t working

so the entire code is:

print('print before while loop')

while true do
  task.wait(1)
  print('test')
end

yep, thats actually exactly what i have

oh shoot, it just started working, nevermind it solved itself, i didn’t even change anything, might just be my computer bugging out

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.