Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------------------------------
- --to start this file make sure there are no other files on the computer
- --and when you install this file don't give it the name startup.lua
- ----------------------------------------------------------------
- -- manual
- --
- -- when you use this place your computer on a disk drive for Mcards from the cashier (one of my previous scripts)
- -- to control it use your up and down arrow keys to change the bidding amount and enter to confirm your amount
- -- when you are blaying you can klick on the chamber where you think there is no bullet (you can't klick twice on te same place)
- -- when you press enter you will spin the chamber of the revolver (like in rusian roulette)
- -- when you spin the gun you can klick on all places again
- -- if you have anymore questions please contact me wv116#1224 on discord
- -----------------------------------------------------------------------------------
- local confirm = false
- local install = false
- function text()
- term.setCursorPos(13, 7)
- print("this will create a startup.")
- term.setCursorPos(14, 8)
- print("do you want to continue?")
- end
- function confirmation()
- term.setCursorPos(18, 10)
- local event, key, isHeld = os.pullEvent("key")
- if key == keys.left then
- write(">Yes< No ")
- confirm = true
- elseif key == keys.right then
- write(" Yes >No<")
- confirm = false
- end
- end
- term.clear()
- term.setCursorPos(18, 10)
- print(" Yes >No<")
- while install == false do
- text()
- confirmation()
- local event, key, isHeld = os.pullEvent("key")
- if confirm and key == keys.enter then
- install = true
- end
- end
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("pastebin get Jr34bN1V startup.lua")
- shell.run("pastebin get 2wmTXThB images/chamber.nfp")
- shell.run("pastebin get 9wPaCvmq images/revolver.nfp")
Add Comment
Please, Sign In to add comment