Guest User

Untitled

a guest
Jan 7th, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. options:
  2. world: gtp # Ustaw tu owiat
  3. x-max: 500 # Maxymalne kordy x
  4. x-min: -500 # Minimalne kordy x
  5. z-max: 500 # Maxymlane kordy z
  6. z-min: -500 # Minimalne kordy z
  7.  
  8. function equip(p: player):
  9. if {_p} has permission "tier1":
  10.  
  11. equip {_p} with all diamond armor of protection 3
  12.  
  13. give 1 diamond sword of sharpness 5 and unbreaking 3 to {_p}
  14. give 1 diamond sword of knockback 2 to {_p}
  15. give 32 golden carrot to {_p}
  16. give 1 enchanted golden apple to {_p}
  17. give 12 golden apple to {_p}
  18. give 1 ender pearl to {_p}
  19. give 32 cobblestone to {_p}
  20. give water bucket to {_p}
  21. give bow of power 3 and flame 1 to {_p}
  22. give diamond pickaxe of efficiency 5 to {_p}
  23. give 16 arrow to {_p}
  24. give 16 snowball named "&9Śnieżka" to {_p}
  25.  
  26.  
  27. else:
  28. equip {_p} with all diamond armor of protection 3
  29.  
  30. give 1 diamond sword of sharpness 5 and unbreaking 3 to {_p}
  31. give 1 diamond sword of knockback 2 to {_p}
  32. give 32 golden carrot to {_p}
  33. give 1 enchanted golden apple to {_p}
  34. give 12 golden apple to {_p}
  35. give 1 ender pearl to {_p}
  36. give 32 cobblestone to {_p}
  37. give water bucket to {_p}
  38. give bow of power 3 and flame 1 to {_p}
  39. give diamond pickaxe of efficiency 5 to {_p}
  40. give 16 arrow to {_p}
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. on rightclick on polished blackstone button:
  51. set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
  52. while block under {_loc} is air or lava:
  53. remove 1 from y-coords of {_loc}
  54. block under {_loc} is lava:
  55. set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
  56. loop players in radius 4 around block behind block:
  57. teleport loop-player to {_loc}
  58. wait 1 tick
  59. equip(loop-player)
  60. wait 1 tick
  61. teleport player to {_loc}
Advertisement
Add Comment
Please, Sign In to add comment