Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Change "top" to whatever side the monitor is on.
- local m = peripheral.wrap("top")
- local BackgroundColor = colors.black
- -- Startup stuff
- m.setCursorBlink(false)
- m.setBackgroundColor(BackgroundColor)
- m.clear()
- -- Simple function to write text at a position, with a color
- local function Write(str, color, x, y, bgcolor)
- m.setTextColor(color)
- if bgcolor ~= nil then
- m.setBackgroundColor(bgcolor)
- end
- m.setCursorPos(x,y)
- m.write(str)
- if bgcolor ~= nil then
- m.setBackgroundColor(BackgroundColor)
- end
- end
- local flashRules = true
- local function PrintWelcome()
- -- Clear out the previous monitor text. We'll be writing to it instantly, so there's no tearing effects.
- m.clear()
- Write("Bannable Offense", colors.lime, 9, 2)
- Write("Bypassing Protections", colors.white, 2, 4)
- Write("Hacking (xray, fly, etc)", colors.white, 2, 6)
- Write("Purposely Lagging the server", colors.white, 2, 8)
- Write("Spamming", colors.white, 2, 10)
- end
- while true do
- PrintWelcome()
- sleep(0.5) -- 0.5 to update the "flashing" text often enough to be able to read it.
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement