Advertisement
SirBaconBitz

Untitled

Apr 22nd, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. m = peripheral.wrap("top")--find monitor peripheral
  2. xSize, ySize = m.getSize()--get size of the monitor
  3. xMin= (xSize/2)-4--the leftmost point of each button
  4. xMax = xMin + 10
  5. spawners = {["zombie"] = false, ["wither"] = false, ["blaze"] = false}--store the states of each spawner
  6. buttons = 3--number of buttons there are
  7. joe = false--whether or not killer joe is on
  8.  
  9. button.clearTable()
  10. button.setTable("Zombie", function() derp end, "Zombie", xMin, xMax, ySize/buttons, ySize/buttons)
  11. button.screen()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement