Hi, I'm new to all this, first time learning to code so sorry if the answer is obvious.
Is it possible to call a function for every 300 seconds or something like that?
Hi, I'm new to all this, first time learning to code so sorry if the answer is obvious.
Is it possible to call a function for every 300 seconds or something like that?
Use a loop.
do something like:
while true do
wait(300)
-- call function
end
Good luck!
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
you shouldn't use a while wait do loop. Do while true do wait(300)
green is correct. @titaneagle do you even know WHY wait() as a condition works?
ok
thanks
ty