Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x, y, xsize, ysize
- mon = peripheral.wrap("front")
- mon.setTextScale(1.4)
- modem = peripheral.wrap("bottom")
- while true do
- event, side, xpos, ypos = os.pullEvent("monitor_touch")
- mon.setCursorPos(6,2)
- mon.setTextColor(colors.lime)
- mon.write("O")
- sleep(0.1)
- mon.write("u")
- sleep(0.1)
- mon.write("v")
- sleep(0.1)
- mon.write("e")
- sleep(0.1)
- mon.write("r")
- sleep(0.1)
- mon.write("t")
- sleep(0.1)
- mon.write("u")
- sleep(0.1)
- mon.write("r")
- sleep(0.1)
- mon.write("e")
- sleep(0.1)
- mon.write(" ")
- sleep(0.1)
- mon.setCursorPos(5,3)
- mon.write("d")
- sleep(0.1)
- mon.write("e")
- sleep(0.1)
- mon.write(" ")
- sleep(0.1)
- mon.write("l")
- sleep(0.1)
- mon.write("a")
- sleep(0.1)
- mon.write(" ")
- sleep(0.1)
- mon.write("p")
- sleep(0.1)
- mon.write("o")
- sleep(0.1)
- mon.write("r")
- sleep(0.1)
- mon.write("t")
- sleep(0.2)
- mon.write("e")
- sleep(0.4)
- mon.clear()
- mon.setCursorPos(6,2)
- mon.setTextColor(colors.yellow)
- mon.write("VEUILLEZ")
- mon.setCursorPos(6.8,3)
- mon.write("RECULER")
- sleep(0.5)
- mon.clear()
- sleep(0.3)
- mon.setCursorPos(6,2)
- mon.setTextColor(colors.yellow)
- mon.write("VEUILLEZ")
- mon.setCursorPos(6.8,3)
- mon.write("RECULER")
- sleep(0.5)
- mon.clear()
- sleep(0.3)
- mon.setCursorPos(6,2)
- mon.setTextColor(colors.yellow)
- mon.write("VEUILLEZ")
- mon.setCursorPos(6.8,3)
- mon.write("RECULER")
- sleep(0.5)
- mon.clear()
- sleep(0.3)
- mon.setCursorPos(6,2)
- mon.setTextColor(colors.yellow)
- mon.write("VEUILLEZ")
- mon.setCursorPos(6.8,3)
- mon.write("RECULER")
- sleep(0.5)
- mon.clear()
- sleep(2)
- mon.clear()
- mon.setCursorPos(4,2)
- mon.setTextScale(0.8)
- mon.write("QUANTITE LIMITE DE")
- mon.setCursorPos(5,3)
- mon.write("MAGIE SOMBRE NORMALE!")
- mon.setCursorPos(1.5,1)
- mon.setTextScale(3)
- mon.write("65%")
- sleep(2)
- mon.clear()
- mon.setCursorPos(1.5,1)
- mon.setTextScale(3)
- mon.setTextColor(colors.orange)
- mon.write("79%")
- mon.setCursorPos(4,2)
- mon.setTextScale(0.8)
- mon.write("QUANTITE LIMITE DE")
- mon.setCursorPos(5,3)
- mon.write("MAGIE SOMBRE ATTEINTE!")
- sleep(1)
- mon.clear()
- mon.setCursorPos(1.5,1)
- mon.setTextScale(3)
- mon.setTextColor(colors.red)
- mon.write("92%")
- mon.setCursorPos(4,2)
- mon.setTextScale(0.8)
- mon.write("QUANTITE LIMITE DE")
- mon.setCursorPos(5,3)
- mon.write("MAGIE SOMBRE DEPASSEE!")
- sleep(1)
- mon.clear()
- mon.setTextScale(1.4)
- mon.setCursorPos(6,2)
- mon.write("FERMETURE")
- mon.setCursorPos(5.5,3)
- mon.setTextScale(1.4)
- mon.write("DE LA PORTE")
- sleep(3)
- mon.clear()
- mon.setTextScale(1)
- mon.setCursorPos(1,1)
- mon.setTextColor(colors.white)
- mon.write("S")
- sleep(0.1)
- mon.write("h")
- sleep(0.1)
- mon.write("u")
- sleep(0.1)
- mon.write("t")
- sleep(0.1)
- mon.write("d")
- sleep(0.1)
- mon.write("o")
- sleep(0.1)
- mon.write("w")
- sleep(0.1)
- mon.write("n")
- sleep(0.1)
- mon.write(".")
- sleep(0.3)
- mon.write(".")
- sleep(0.3)
- mon.write(".")
- sleep(1)
- mon.clear()
- end
- modem.transmit(idChannel,idChannel,msg)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement