Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. 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}"
  2.  
  3. 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}"
  4.  
  5. function loop()
  6. while true do
  7. screen()
  8. event, side, x, y = os.pullEvent("monitor_touch")
  9. if x >= 3 and x <= (width-3) then
  10. if y >= 3 and y <= 5 then
  11. btn("Play Game", 3, width-3, 3, 5, colors.lime)
  12. sleep(0.12)
  13. elseif y >= 7 and y <= 9 then
  14. btn("Spawn Settings", 3, width-3, 7, 9, colors.lime)
  15. sleep(0.12)
  16.  
  17. end
  18. end
  19. end
  20. end
  21.  
  22. function screen()
  23. if page == "main" then
  24. btn("Play Game", 3, width-3, 3, 5, colors.red)
  25. btn("Spawn Settings", 3, width-3, 7, 9, colors.red)
  26. end
  27. end
  28.  
  29. function rect(label, xA, xB, yA, yB, col)
  30. pC = term.getBackgroundColor()
  31. term.setBackgroundColor(col)
  32. for x = xA, xB do
  33. for y = yA, yB do
  34. term.setCursorPos(x, y)
  35. term.write(" ")
  36. if animate == true then
  37. sleep(0.0001)
  38. end
  39. end
  40. end
  41. lX = math.ceil((xA+xB-#label)/2)
  42. lY = math.ceil((yA+yB)/2)
  43. term.setCursorPos(lX, lY)
  44. term.write(label)
  45. end
  46.  
  47. loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement