Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("Welcome to the TGL installer!")
- print("this is a part of my Os Minedows")
- sleep(3)
- print("Do u want to download? ")
- term.setCursorPos(5,6)
- print("yes")
- term.setCursorPos(5,8)
- print("No")
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "5,6" then
- print("Ok, we go now download the files! ")
- shell.run("pastebin","get","94N0svgL","tgl")
- shell.run("pastebin","get","un7BGany",".Logo6")
- sleep(1)
- print("finnish!")
- sleep(3)
- os.reboot()
- break
- end
- if XY == "5,8" then
- print("Ok, no problem! ")
- sleep(3)
- os.reboot()
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement