
How to loop through players - DevForum | Roblox
Jul 24, 2022 · A numeric for loop was more common to use before LuaU optimisations because for whatever reason, Roblox’s implementation of ipairs was reported as noticeably slow enough not to …
How do I run a loop a set number of times? - Roblox
Sep 8, 2020 · Here is a way to do this: local counter = 10 for i = counter, 0, -1 do end This will run 10 times (or however many times you want)
Learning the For Loop - Scripting Support - Roblox
Jan 5, 2021 · The past year was the year i learnt the most about roblox programming, and i’m very happy with the knoledge i have now. But there’s still a lot of things i don’t know about scripting, and …
Loop a certain section of an animation - DevForum | Roblox
Jul 26, 2024 · I have an animation for my game that has a initial starting part and then the last 2 or so seconds are made to be loop able. Does anyone know of a way to specify that I only want to loop …
How to make a sound loop? - Scripting Support - Roblox
Apr 25, 2022 · How to make a sound loop? Help and Feedback Scripting Support pevdn (bigman) April 25, 2022, 10:15am
Is there any possible way to break a loop outside of the *loop ... - Roblox
Jul 7, 2020 · This might sound a dumb question, but is there any way to break a loop outside of loop?
How do I basically stop a loop? - Scripting Support - Roblox
May 15, 2022 · Hello, I’ve been pretty confused on this topic about “How do I stop a loop” Loop examples: while true do while wait() do So yeah, I just wanna know how to stop a loop inside of a script.
How to make this while loop instantly stop - Roblox
Jun 29, 2021 · I’m having this issue: I have a while true loop that repeats every second. However, I want it to instantly break when something happens. (in this case - a variable change) How would I …
How would I loop functions? - DevForum | Roblox
Jan 9, 2022 · Whenever I loop a function using while, it just doesn’t work at all
How Do I Loop An Animation - Scripting Support - Roblox
Jan 24, 2021 · I was able to get an animation to loop by adding a script to the rig in the workspace, then in the scripts properties set the RunContext to Client. I used the following code. task.wait(5) local …