Advertisement
Guest User

NeliCheat 1.0

a guest
Sep 5th, 2015
1,072
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. #---------------------------#
  2. # Forcefield // Autoclick #
  3. #---------------------------#
  4.  
  5. on damage:
  6. if distance between attacker and victim is greater than 5:
  7. strike lightning at the attacker
  8. 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]}]}}}}"
  9. broadcast "&f&l[&c&lALERT&f&l] &e%attacker% &7a etait banni pour: &cForceField"
  10. execute console command "/tempban %attacker% 7d &cForceField interdit banni 7 jour"
  11.  
  12. #----------------------------#
  13. # Fly // HightJump #
  14. #----------------------------#
  15.  
  16. every 1.5 second:
  17. loop all players:
  18. loop-player is not flying
  19. set {_block} to the block below loop-player
  20. while {_block} is air :
  21. set {_block} to the block below {_block}
  22. add 1 to {_altitude}
  23. wait 1 second
  24. set {_block} to the block below loop-player
  25. while {_block} is air :
  26. set {_block} to the block below {_block}
  27. add 1 to {_altitude2}
  28. if block west below loop-player is not air :
  29. add 1 to {_edge}
  30. if block north below loop-player is not air :
  31. add 1 to {_edge}
  32. if block south below loop-player is not air :
  33. add 1 to {_edge}
  34. if block east below loop-player is not air :
  35. add 1 to {_edge}
  36. if block south loop-player is not air :
  37. add 1 to {_wall}
  38. if block north loop-player is not air :
  39. add 1 to {_wall}
  40. if block west loop-player is not air :
  41. add 1 to {_wall}
  42. if block east loop-player is not air :
  43. add 1 to {_wall}
  44. if {_altitude2} >= {_altitude}:
  45. {_altitude} > 1
  46. if {_edge} is not set :
  47. if {_edge} = 1 :
  48. {_wall} > 0
  49. strike lightning at the attacker
  50. 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]}]}}}}"
  51. broadcast "&f&l[&c&lALERT&f&l] &e%attacker% &7a etait banni pour: &cFly"
  52. execute console command "/tempban %attacker% 7d &cFly interdit banni 7 jour"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement