
Avoid using while true do & while wait() do! - Roblox
Nov 10, 2022 · What is while true do? So to start off what is while true do? Many of you probably already know what while true do is but I am going to explain it to the beginner developers. while true do is a …
Should I Use While True Do Or While Wait () Do? - Roblox
May 22, 2020 · Hi So About A Year Ago Or 2 There Was Like This Big Controversy Regarding While Wait() Do. I Have Been Confused For Very Long Which I Should Be Using. Some Say To Use While …
Is 'while true do' fine to use in this situation? - Roblox
Feb 11, 2022 · Hi. I have scripted a function that chooses a random event. I want this function to run every 5 minutes. Is a simple while true do script secure and safe enough? Example: while true do …
Is using "while true" to keep a script alive a good idea?
Mar 30, 2015 · while true do /someperlscript.pl done The perl script itself internally has a folder/file watcher that executes when files are changed in the target location. Is this (while true) a good idea? …
How do you break a "while true do" loop? (Loops in general
Oct 3, 2023 · Use the break keyword, like so: local a = 1 while true do task.wait(2) if a >= 2 then break -- This breaks any loop. end a += 1 end
Should I limit the amount of while true loops I put in my game?
Oct 26, 2022 · Avoid using them as much as possible, try to figure out alternative solutions that can do the same thing without wasting much of the resources. One of the approaches involve utilizing the …
While true do loops - Scripting Support - Roblox
Apr 1, 2021 · I do not promote while wait () do loops, the loop doesn’t necessarily need to run all the time. This is because we got better options like detecting the change using an event like Instance | …
How to Detect Boolean without [while true/wait do] - Roblox
Sep 11, 2023 · Im using Boolean value in my game to almost do alot of coding, and i need to a way to detect boolean value that changed with script, i dont want to use while true/wait do, is there easier …
While true do alternative - Scripting Support - Roblox
Feb 24, 2023 · Since magnitude has Number class, so that might works. Or you can slow down the while loop for better performance, that would make your speed meter skipping a bit, but finding the …
Alternatives to "while true do" in my script? - Roblox
Sep 8, 2021 · If you absolutely must have a while true do, and you will never ever want to escape it, you can cut down on lines/make it cleaner by making it while wait() do instead. Does the same as putting …