Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function easy()
- --easy shit
- term.clear()
- term.setCursorPos(1,1)
- i = o
- print("Get Ready!")
- sleep(5)
- local i = 0
- repeat
- local x = math.random(12)
- rs.setBundledOutput("back", x)
- sleep(3)
- rs.setBundledOutput("back", 0)
- sleep(1)
- i = i + 1
- until i == 3
- end
- function medium()
- --medium shit
- i = o
- term.clear()
- term.setCursorPos(1,1)
- print("Get Ready!")
- sleep(5)
- local i = 0
- repeat
- local x = math.random(12)
- rs.setBundledOutput("back", x)
- sleep(3)
- rs.setBundledOutput("back", 0)
- sleep(1)
- i = i + 1
- until i == 6
- end
- function hard()
- --hard shit
- i = o
- term.clear()
- term.setCursorPos(1,1)
- print("Get Ready!")
- sleep(5)
- local i = 0
- repeat
- local x = math.random(12)
- rs.setBundledOutput("back", x)
- sleep(3)
- rs.setBundledOutput("back", 0)
- sleep(1)
- i = i + 1
- until i == 9
- end
- while true do
- print("Welcome to the archery system!")
- sleep(0.5)
- print("Easy, Medium or Hard?")
- local diff = read()
- if diff == "easy"
- easy()
- else
- if diff == "medium"
- medium()
- else
- if diff == "hard"
- hard()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment