Advertisement
KodingKid

Lua Booleans #1

May 16th, 2021
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. a = false
  2. b = true
  3. while a true
  4. print("This message will never print (lol)")
  5. end
  6. while b false
  7. print("This message will never print (lol)")
  8. end
  9. while a false
  10. print("This message will print once")
  11. break
  12. end
  13. while b true
  14. print("This message will print once")
  15. break
  16. end
  17. while a false
  18. print("This message will constantly print")
  19. end
  20. while b true
  21. print("This message will constantly print")
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement