I want basically the same effect as disabling and enabling the script, but done from one script. How do I do this?
Do your research.
What you're looking for is a loop. What type of loop depends on what your code is. To continuously repeat something, you should use a while loop. A while loop will repeat a block of code until the condition between the while
and do
keywords is false. If you give it a condition that will never, ever be false, it will loop forever.
In infinite loops, you must have at least a wait(0)
somewhere in it, or the server will crash.
while true do wait() print("Spamming your output...") end
This is not a request site, please try doing some personal research, or check out the wiki. Once you semi-find out what to do, and you get errors post them here and we will do our best to help.