Marcel12311

Roblox "Hello World"

Feb 9th, 2022 (edited)
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. local names = {
  2.     [1] = "world",
  3.     [2] = "hello"
  4. }
  5.  
  6. local function fun1(i,v)
  7.     if v == "hello" and typeof(v) == "string" then
  8.         print(names[2].." "..names[1])
  9.     end
  10. end
  11. table.foreach(names,fun1)
Add Comment
Please, Sign In to add comment