While True Do Loop

While True Do Loops
A while true do loop can loop a function, which will actually make it go on forever. If you have ever seen anyone just simply repeating the same code, the script will eventually end it. The script cannot end a while true do loop unless some of the code has a time that if will remove the function.

Advantages
You can use it to create a door that can open and close, and other things.