Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------#
- # Forcefield // Autoclick #
- #---------------------------#
- on damage:
- if distance between attacker and victim is greater than 5:
- strike lightning at the attacker
- execute console command "/summon FireworksRocketEntity %x-coordinate of attacker's location% %y-coordinate of attacker's location% %z-coordinate of attacker's location% {LifeTime:20,FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:0,Trail:0,Colors:[13238090],FadeColors:[5898117]},{Type:0,Flicker:0,Trail:0,Colors:[16732214],FadeColors:[16757035]}]}}}}"
- broadcast "&f&l[&c&lALERT&f&l] &e%attacker% &7a etait banni pour: &cForceField"
- execute console command "/tempban %attacker% 7d &cForceField interdit banni 7 jour"
- #----------------------------#
- # Fly // HightJump #
- #----------------------------#
- every 1.5 second:
- loop all players:
- loop-player is not flying
- set {_block} to the block below loop-player
- while {_block} is air :
- set {_block} to the block below {_block}
- add 1 to {_altitude}
- wait 1 second
- set {_block} to the block below loop-player
- while {_block} is air :
- set {_block} to the block below {_block}
- add 1 to {_altitude2}
- if block west below loop-player is not air :
- add 1 to {_edge}
- if block north below loop-player is not air :
- add 1 to {_edge}
- if block south below loop-player is not air :
- add 1 to {_edge}
- if block east below loop-player is not air :
- add 1 to {_edge}
- if block south loop-player is not air :
- add 1 to {_wall}
- if block north loop-player is not air :
- add 1 to {_wall}
- if block west loop-player is not air :
- add 1 to {_wall}
- if block east loop-player is not air :
- add 1 to {_wall}
- if {_altitude2} >= {_altitude}:
- {_altitude} > 1
- if {_edge} is not set :
- if {_edge} = 1 :
- {_wall} > 0
- strike lightning at the attacker
- execute console command "/summon FireworksRocketEntity %x-coordinate of attacker's location% %y-coordinate of attacker's location% %z-coordinate of attacker's location% {LifeTime:20,FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:0,Trail:0,Colors:[13238090],FadeColors:[5898117]},{Type:0,Flicker:0,Trail:0,Colors:[16732214],FadeColors:[16757035]}]}}}}"
- broadcast "&f&l[&c&lALERT&f&l] &e%attacker% &7a etait banni pour: &cFly"
- execute console command "/tempban %attacker% 7d &cFly interdit banni 7 jour"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement