Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- withAI = "/summon Zombie ~0 ~-3 ~0 {Equipment:[{Count:1,id:diamond_sword,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:16,lvl:5}]}},{Count:1,id:diamond_boots,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_leggings,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_chestplate,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_helmet,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}}],CustomName:Kylie,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:999},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:999},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:100}],DropChances:[0.1F,2.0F,2.0F,2.0F,2.0F],ActiveEffects:[{Id:22,Amplifier:1,Duration:999999},{Id:3,Amplifier:1,Duration:999999},{Id:21,Amplifier:1,Duration:999999},{Id:10,Amplifier:1,Duration:999999},{Id:11,Amplifier:1,Duration:999999},{Id:1,Amplifier:1,Duration:999999},{Id:5,Amplifier:1,Duration:999999}],PersistenceRequired:1,CanPickUpLoot:1,CanBreakDoors:1}"
- withoutAI = "/summon Zombie ~0 ~-3 ~0 {Equipment:[{Count:1,id:diamond_sword,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:16,lvl:5}]}},{Count:1,id:diamond_boots,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_leggings,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_chestplate,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}},{Count:1,id:diamond_helmet,tag:{Unbreakable:1,display:{Name:LOL,Lore:[.]},ench:[{id:0,lvl:4}]}}],CustomName:Kylie,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:999},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:999},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:100}],DropChances:[0.1F,2.0F,2.0F,2.0F,2.0F],ActiveEffects:[{Id:22,Amplifier:1,Duration:999999},{Id:3,Amplifier:1,Duration:999999},{Id:21,Amplifier:1,Duration:999999},{Id:10,Amplifier:1,Duration:999999},{Id:11,Amplifier:1,Duration:999999},{Id:1,Amplifier:1,Duration:999999},{Id:5,Amplifier:1,Duration:999999}],NoAI:1,PersistenceRequired:1,CanPickUpLoot:1,CanBreakDoors:1}"
- function loop()
- while true do
- screen()
- event, side, x, y = os.pullEvent("monitor_touch")
- if x >= 3 and x <= (width-3) then
- if y >= 3 and y <= 5 then
- btn("Play Game", 3, width-3, 3, 5, colors.lime)
- sleep(0.12)
- elseif y >= 7 and y <= 9 then
- btn("Spawn Settings", 3, width-3, 7, 9, colors.lime)
- sleep(0.12)
- end
- end
- end
- end
- function screen()
- if page == "main" then
- btn("Play Game", 3, width-3, 3, 5, colors.red)
- btn("Spawn Settings", 3, width-3, 7, 9, colors.red)
- end
- end
- function rect(label, xA, xB, yA, yB, col)
- pC = term.getBackgroundColor()
- term.setBackgroundColor(col)
- for x = xA, xB do
- for y = yA, yB do
- term.setCursorPos(x, y)
- term.write(" ")
- if animate == true then
- sleep(0.0001)
- end
- end
- end
- lX = math.ceil((xA+xB-#label)/2)
- lY = math.ceil((yA+yB)/2)
- term.setCursorPos(lX, lY)
- term.write(label)
- end
- loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement