Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- this is my update tool by gijsvdsande
- local scannerFrame = {
- "+--------------------------------+",
- "| |",
- "| |",
- "| |",
- "| |",
- "| |",
- "| |",
- "| |",
- "| [Yes] [no] |",
- "| |",
- "| |",
- "+--------------------------------+",
- }
- local Text = {
- " Update ",
- " +---------------------+ ",
- " | | ",
- " +---------------------+ ",
- }
- local Options = {
- " Yes", "no"
- }
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = mouseX..","..mouseY
- if XY == "1,2" and button == 1 then
- print("not right now ")
- shell.run("menu")
- break
- end
- if XY == "1,3" and button == 1 then
- print("Updating...")
- shell.run("UpdateTest")
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement