Advertisement
CodeCrafter

TglInstall

Mar 27th, 2013
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Welcome to the TGL installer!")
  4. print("this is a part of my Os Minedows")
  5.  
  6. sleep(3)
  7.  
  8. print("Do u want to download? ")
  9. term.setCursorPos(5,6)
  10. print("yes")
  11. term.setCursorPos(5,8)
  12. print("No")
  13. while true do
  14. local event, button, X, Y = os.pullEvent("mouse_click")
  15. XY = X..","..Y
  16.  
  17. if XY == "5,6" then
  18. print("Ok, we go now download the files! ")
  19.  
  20. shell.run("pastebin","get","94N0svgL","tgl")
  21. shell.run("pastebin","get","un7BGany",".Logo6")
  22. sleep(1)
  23. print("finnish!")
  24. sleep(3)
  25. os.reboot()
  26. break
  27. end
  28.  
  29. if XY == "5,8" then
  30. print("Ok, no problem! ")
  31. sleep(3)
  32. os.reboot()
  33. break
  34. end
  35.  
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement