Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make a script where after you have used the script it repeats after 65 seconds? for ever

Asked by 5 years ago

how do i make a script that repeats after 65 seconds for ever?

0
Try using a repeat function. Pooglies 7 — 5y

1 answer

Log in to vote
1
Answered by
CjayPlyz 643 Moderation Voter
5 years ago
Edited 5 years ago

if you want to run the code first before waiting then

--Code
while true do
    --Code
    wait(65)
end

If you want to wait first before running the code then

--Code
while true do
    wait(65)
    --Code
end

You can use break() to stop the loop. You can learn more about loops in this article.

Ad

Answer this question