Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on stone button:
- block behind is sponge:
- if {zabtp.%player%} is true:
- stop
- else:
- set {zabtp.%player%} to true
- wait 1 tick
- send "&b» &fZostaniesz przeteleportowany za &c3 sekundy"
- wait 3 seconds
- set {_loc::old} to player's location
- while player's location is {_loc::old}:
- set {_loc::new} to location at random number between 896 and 971, 0, random number between -238 and -313
- loop blocks above {_loc::new}:
- if loop-block and block above loop-block are air:
- if block under loop-block is not air or water block or lava block:
- set {_loc::new} to location of loop-block
- teleport the player to {_loc::new}
- set {zabtp.%player%} to false
- #AntyLog created by Homu [czas: 5m] (można usunąć!) NIETESTOWANE
- on damage of player:
- set {_walka} to yaml value "walka" from "zmienne/%uuid of victim%.yml"
- set {_nazwa} to yaml value "nazwa" from "zmienne/%uuid of victim.yml"
- set {_walka} to yaml value "walka" from "zmienne/%uuid of attacker%.yml"
- set {_nazwa} to yaml value "nazwa" from "zmienne/%uuid of attacker.yml"
- if {_walka} is not set:
- set yaml value "walka" from frile "zmienne/%uuid of victim%.yml" to "yes"
- set yaml value "walka" from frile "zmienne/%uuid of attacker%.yml" to "yes"
- if {_nazwa} is not set:
- set yaml value "nazwa" from file "zmienne/%uuid of victim%.yml" to "%victim%"
- set yaml value "nazwa" from file "zmienne/%uuid of attacker%.yml" to "%attacker%"
- set level of player to 15
- loop 15 times:
- set {_x} to level of player-15
- set level of player to {_x}
- wait 1 second
- if {_x} is 0:
- set {_walka} to yaml value "walka" from "zmienne/%uuid of victim%.yml" to "no"
- set {_walka} to yaml value "walka" from "zmienne/%uuid of player%.yml" to "no"
- send "mozna sie wyologowac" to victim
- send "mozna sie wyologowac" to attacker
- on quit:
- if {_walka} is "yes":
- kill player
- set {_walka} to yaml value "walka" from "zmienne/%uuid of player%.yml" to "no"
- send "cos tam zginales" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement