Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=peripheral.wrap("bottom")
- a.clear()
- a.setTextScale(1)
- function b(c)
- return math.floor(c+0.5)
- end
- d="Casino"
- e=4
- f,g=a.getSize()
- print(f)
- print(g)
- f=b(f/e)
- print(f)
- g=b(g/e)
- print(g)
- a.setTextScale(e)
- a.setCursorPos(b(f/2)-b(d:len()/2),b(g/2))
- a.write(d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement