Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- xMin: -2500
- xMax: 2500
- zMin: -2500
- zMax: 2500
- yMin: 80
- yMax: 90
- world: world
- aliases:
- blocktpr = 1, 2, 3, 4, 12, 13, 49, 7, 8, 5, 18, 172, 24, 9
- variables:
- {godteleport.%player%} = false
- on rightclick on stone button:
- block behind target block is sponge:
- set {_targetx} to a random integer between {@xMin} and {@xMax}
- set {_targetz} to a random integer between {@zMin} and {@zMax}
- set {_targety} to 0
- set {_random.pos} to location at {_targetx}, {_targety}, {_targetz}
- biome at {_random.pos} is ocean or river or deep ocean:
- send "&4Blad: &cLokacja znajduje sie na oceanie!"
- else:
- loop blocks above the block at location of {_random.pos}:
- if block at location of loop-block is blocktpr:
- if block above the block at location of loop-block is air or water:
- if block 1 above the block at location of loop-block is air:
- if block 2 above the block at location of loop-block is air:
- set {_pos} to block above the block at location of loop-block
- apply speed 3 to the player for 15 seconds
- apply regeneration 10 to the player for 10 seconds
- set {godteleport.%player%} to true
- send "&8&lยป &cPrzeteleportowano na kordynaty &6x: %{_targetx}% z: %{_targetz}%&7!" to player
- add 64 cooked porkchop to player
- add 64 cooked porkchop to player
- teleport player to {_pos}
- wait 10 seconds
- set {godteleport.%player%} to false
- stop
- on damage:
- if {godteleport.%victim%} is true:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement