Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- textutils.slowPrint("System Pirater")
- sleep(2)
- shell.run("clear")
- local function centerText(text)
- local x,y = term.getSize()
- local x2,y2 = term.getCursorPos()
- term.setCursorPos(math.round((x/2) - (text:len()/2)), y2)
- write(text)
- end
- centerText("Bienvenue Maitre")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement