Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Mob Farm Controller
- local mob = {...}
- local c = 0
- if mob[1] == "blaze" then
- c = 1
- elseif mob[1] == "wither" then
- c = 2
- elseif mob[1] == "enderman" then
- c = 4
- elseif mob[1] == "creeper" then
- c = 8
- elseif mob[1] == "witch" then
- c = 16
- elseif mob[1] == "stop" or mob[1] == "close" then
- c = 0
- elseif mob[1] == "open" then
- c = -512
- else
- print("Invalid mob name")
- return
- end
- c = c + 512
- rs.setBundledOutput("back", c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement