Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Image1 = paintutils.loadImage(".Logo6")
- local Versie = "1.5"
- paintutils.drawImage(Image1,1,1)
- term.setCursorPos(5,5)
- sleep(3)
- term.clear()
- term.setCursorPos(5,5)
- print("Welcome by tgl (the game libary) ")
- term.setCursorPos(5,7)
- print("This is version "..Versie)
- term.setCursorPos(5,16)
- print("My games")
- term.setCursorPos(5,18)
- print("Store")
- while true do
- local event,button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "5,16" then
- term.clear()
- term.setCursorPos(1,7)
- print("My games")
- term.setCursorPos(1,1)
- print("Return to main menu ")
- term.setCursorPos(5,16)
- if fs.exists("Pong") then
- print("Pong")
- else
- end
- term.setCursorPos(5,18)
- if fs.exists("minecraft") then
- print("Mineception")
- else
- end
- term.setCursorPos(5,14)
- print("worm")
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "1,1" then
- shell.run("tgl")
- break
- end
- if XY == "5,16" and fs.exists("Pong") then
- shell.run("Pong")
- break
- end
- if XY == "5,18" and fs.exists("minecraft") then
- shell.run("minecraft")
- break
- end
- if XY == "5,14" then
- shell.run("worm")
- break
- else
- end
- end
- end
- if XY == "5,18" then
- term.clear()
- term.setCursorPos(5,6)
- print("Store")
- term.setCursorPos(1,1)
- print("back to main menu ")
- term.setCursorPos(5,8)
- print("Here can u download some games ")
- term.setCursorPos(5,10)
- if fs.exists("minecraft") then
- else
- print("Minecraft for minecraft ")
- end
- term.setCursorPos(5,12)
- if fs.exists("Pong") then
- else
- print("Pong")
- end
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "1,1" then
- shell.run("tgl")
- break
- end
- if XY == "5,10" then
- print("start Donwloading Minecraft")
- shell.run("pastebin","get","wmdAN3kN","minecraft")
- sleep(3)
- shell.run("tgl")
- break
- end
- if XY == "5,12" then
- shell.run("pastebin","get","STEgxXyf","Pong")
- sleep(3)
- shell.run("tgl")
- break
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement