Advertisement
RoScripter

For Loops

Mar 14th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. local names = {"Wyatt", "Bob", "George"}
  2.  
  3. for count = 1, #names do
  4.     local currentName = names[count]
  5.     print(currentName)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement