Children Loop Roblox Lua

  1. Initialize a variable called "count" and set it to 0.
  2. Create a "while" loop with the condition "count is less than 5".
  3. Inside the loop, print the value of "count".
  4. Increase the value of "count" by 1.
  5. End the loop.
  6. Print a message indicating that the loop has ended.