Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------------------#
- #Autorem skryptu jest Killer22 tzw KLL4R#
- #---------------------------------------#
- options:
- # co ile zapetla graczy przy plocie, jezepi powyzej 0.5 powoduje, ze mozna podejsc, uciec i uniknac kopniecia przez prad
- czas: 0.3
- variables:
- {kopniecie.%player%} = false
- #--------------------------------------#
- # dodawanie plotkow do elektrcznych #
- #--------------------------------------#
- on place of fence:
- name of player's tool is "&bElektryczny Plot":
- player can build at targeted block:
- send "&7Postawiles &bElektyczny Plot &7Uwazaj"
- set {wlasciciel.%location of block%} to player
- #--------------------------------------#
- # porazenie przy dotknieciu reka #
- #--------------------------------------#
- on break of fence:
- {wlasciciel.%location of block%} is set:
- clear {wlasciciel.%location of block%}
- #--------------------------------------#
- # porazenie przy styku z plotem #
- #--------------------------------------#
- every 0.3 second:
- loop all players:
- {kopniecie.%loop-player%} is false
- loop blocks in radius 1 of loop-player:
- loop-block is fence:
- {wlasciciel.%location of loop-block%} is set:
- {wlasciciel.%location of loop-block%} isn't loop-player:
- strike lightning effect at loop-player
- send "&7Zostales Porazony Przez &bElektryczny Plot" to loop-player
- damage loop-player by 2 hearts
- remove Nausea from loop-player
- remove Blindness from loop-player
- apply Nausea to loop-player for 7 seconds
- apply Blindness to loop-player for 5 seconds
- set {kopniecie.%loop-player%} to true
- wait 3 seconds
- set {kopniecie.%loop-player%} to false
- loop-block is fence gate:
- {wlasciciel.%location of loop-block%} is set:
- {wlasciciel.%location of loop-block%} isn't loop-player:
- strike lightning effect at loop-player
- send "&7Zostales Porazony Przez &bElektryczny Plot" to loop-player
- damage loop-player by 2.5 hearts
- remove Nausea from loop-player
- remove Blindness from loop-player
- apply Nausea to loop-player for 7 seconds
- apply Blindness to loop-player for 5 seconds
- set {kopniecie.%loop-player%} to true
- wait 3 seconds
- set {kopniecie.%loop-player%} to false
Advertisement
Add Comment
Please, Sign In to add comment