About 95,400 results
Open links in new tab
  1. How to repeat a function - Scripting Support - Developer Forum - Roblox

    Dec 9, 2020 · A numeric for loop allows you to repeat code a set amount of times. The first number, 0, is where you want to start. The second number is the goal. It’s where you want to …

  2. Repeat code with while loops | Documentation - Roblox

    In this article, the while loop is used to repeat instructions forever. To create a while loop that repeats forever, use the syntax below, being sure to include instructions between the do and …

  3. Roblox Loops Tutorial - Complete Guide - GameDev Academy

    Oct 20, 2023 · Roblox loops help in the implementation of a ‘repeat’ mechanism. This is useful in numerous game scenarios, such as spawning enemies, repeating animations, and much …

  4. While or repeat until? - Scripting Support - Developer Forum - Roblox

    Dec 8, 2022 · Both while and repeat until loops can be used to repeat a task until a certain condition is met. If you want to repeat a task while a certain condition is true, you can use a …

  5. Loops | Documentation - Roblox Creator Hub

    Use a common loop that repeats instructions for a set amount of times. Practice using for loops by making lights glow. A more advanced implementation of a for loop that makes a bridge …

  6. repeat Explained | Learn Roblox Studio - YouTube

    Nov 5, 2023 · In this video you will understand how to work with repeat loops in Roblox Studio. After these quick 7 minutes, you will be ready to start using repeat loops ...

  7. Iteration and loops In Roblox Studio - Holik Studios

    These examples demonstrate how repeat loops can be used in game development in Roblox Studio to iterate and repeat actions. By leveraging repeat loops effectively, you can create …

  8. Repeat function X times - Scripting Support - Developer Forum - Roblox

    Oct 28, 2019 · Lets say i need 3 players and I only have 1 in the game, and I want to 2 or 1 more people (basically X) so I want to repeat a funciton that gets a random player in game, and if I …

  9. Loops - ROBLOX Lua Tutorials

    Loops allow you to repeat a task. They can be used for many things, like animating movements, changing the time of day, and creating timers. In Lua, there are 3 basic types of loops. They …

  10. Intro to for loops | Documentation - Roblox Creator Hub

    Use for loops to repeat code in this lesson for Luau. This lesson explains how for loops work and includes practice scripts.

Refresh