Jamstoe
(Jamsteo)
June 22, 2023, 8:40pm
#1
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
GuySalami
(Choco1atte)
June 22, 2023, 8:41pm
#2
Does the script run, try printing before the loop.
Jamstoe
(Jamsteo)
June 22, 2023, 8:42pm
#3
yep, just the while loop that isn’t working
GuySalami
(Choco1atte)
June 22, 2023, 8:43pm
#4
so the entire code is:
print('print before while loop')
while true do
task.wait(1)
print('test')
end
Jamstoe
(Jamsteo)
June 22, 2023, 8:44pm
#5
yep, thats actually exactly what i have
Jamstoe
(Jamsteo)
June 22, 2023, 8:45pm
#6
oh shoot, it just started working, nevermind it solved itself, i didn’t even change anything, might just be my computer bugging out
system
(system)
Closed
July 6, 2023, 8:45pm
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.