Advertisement
KodingKid

Basic age, and name system in Lua

May 3rd, 2021
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. print("Hello, what is your name and how old are you?")
  2. age = io.read("*n")
  3. first_name = io.read("*l")
  4. second_name = io.read("*l")
  5. person = age + first_name + second_name
  6. wait(1)
  7. print("Processing...")
  8. wait(1)
  9. print("Processing...")
  10. wait(1)
  11. print("Done!")
  12. wait(2)
  13. print(person)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement