Advertisement
Belzebub

button.lua

Apr 7th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local e = require"event"
  2.  
  3. while true do
  4. os.execute("draw /button/1.pic")
  5. local _,_,_,_,_,lol = e.pull("touch")
  6. if lol ~= nil
  7. then
  8. os.execute("draw /button/2.pic")
  9. os.execute("draw /button/3.pic")
  10. os.execute("draw /button/4.pic")
  11. os.execute("draw /button/5.pic")
  12. os.execute("draw /button/6.pic")
  13. os.execute("draw /button/7.pic")
  14. os.execute("draw /button/8.pic")
  15. os.execute("draw /button/9.pic")
  16. os.execute("draw /button/10.pic")
  17. os.execute("draw /button/11.pic")
  18. os.execute("draw /button/12.pic")
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement