Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- world: gtp # Ustaw tu owiat
- x-max: 500 # Maxymalne kordy x
- x-min: -500 # Minimalne kordy x
- z-max: 500 # Maxymlane kordy z
- z-min: -500 # Minimalne kordy z
- function equip(p: player):
- if {_p} has permission "tier1":
- equip {_p} with all diamond armor of protection 3
- give 1 diamond sword of sharpness 5 and unbreaking 3 to {_p}
- give 1 diamond sword of knockback 2 to {_p}
- give 32 golden carrot to {_p}
- give 1 enchanted golden apple to {_p}
- give 12 golden apple to {_p}
- give 1 ender pearl to {_p}
- give 32 cobblestone to {_p}
- give water bucket to {_p}
- give bow of power 3 and flame 1 to {_p}
- give diamond pickaxe of efficiency 5 to {_p}
- give 16 arrow to {_p}
- give 16 snowball named "&9Śnieżka" to {_p}
- else:
- equip {_p} with all diamond armor of protection 3
- give 1 diamond sword of sharpness 5 and unbreaking 3 to {_p}
- give 1 diamond sword of knockback 2 to {_p}
- give 32 golden carrot to {_p}
- give 1 enchanted golden apple to {_p}
- give 12 golden apple to {_p}
- give 1 ender pearl to {_p}
- give 32 cobblestone to {_p}
- give water bucket to {_p}
- give bow of power 3 and flame 1 to {_p}
- give diamond pickaxe of efficiency 5 to {_p}
- give 16 arrow to {_p}
- on rightclick on polished blackstone button:
- set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
- while block under {_loc} is air or lava:
- remove 1 from y-coords of {_loc}
- block under {_loc} is lava:
- set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
- loop players in radius 4 around block behind block:
- teleport loop-player to {_loc}
- wait 1 tick
- equip(loop-player)
- wait 1 tick
- teleport player to {_loc}
Advertisement
Add Comment
Please, Sign In to add comment