FrostedWeFall

Freeze + Death MSG

Oct 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Options
  2. options:
  3. heart: ā™„
  4. ver: 1.0
  5.  
  6. on death of player:
  7. if attacker is a player:
  8. if projectile is set:
  9. if victim is player:
  10. set the death message to "&c%victim% &7was shot by &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  11. stop
  12.  
  13. if attacker is not a player:
  14. if attacker is set:
  15. if victim is player:
  16. set the death message to "&c%victim% &7was killed by a &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  17. stop
  18.  
  19. if attacker is a player:
  20. if attacker is set:
  21. if victim is player:
  22. set the death message to "&c%victim% &7was beaten to death by &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  23. stop
  24.  
  25. if damage was caused by potion:
  26. if victim is player:
  27. set the death message to "&c%victim% &7was killed by &e&k--&7magic&e&k--&7."
  28. stop
  29.  
  30. if damage was caused by fall:
  31. if victim is player:
  32. set the death message to "&c%victim% &7tried the leap of faith."
  33. stop
  34.  
  35. if damage was caused by lava:
  36. if victim is player:
  37. set the death message to "&c%victim% &7thought swimming in lava was a good idea."
  38. stop
  39.  
  40. if damage was caused by burning:
  41. if victim is player:
  42. set the death message to "&c%victim% &7just got roasted."
  43. stop
  44.  
  45. if damage was caused by drown:
  46. if victim is player:
  47. set the death message to "&c%victim% &7never learnt how to swim."
  48. stop
  49.  
  50. if damage was caused by starvation:
  51. if victim is player:
  52. set the death message to "&c%victim% &7was starved to death."
  53. stop
  54.  
  55. if damage was caused by lightning:
  56. if victim is player:
  57. set the death message to "&c%victim% &7was struck by lightning."
  58. stop
  59.  
  60. if damage was caused by block explosion:
  61. if victim is player:
  62. set the death message to "&c%victim% &7was blown to bits."
  63. stop
  64.  
  65.  
  66. command /freeze [<player>]:
  67.  
  68. permission: freezer.freeze
  69.  
  70. trigger:
  71.  
  72. if arg 1 is not set:
  73.  
  74. send "&4Error >> &cdo /freeze (player)"
  75.  
  76. if arg 1 is set:
  77.  
  78. set {freeze.move.%arg-1%} to true
  79.  
  80. send "&a&o%arg-1% has been frozen"
  81.  
  82. broadcast "&7&4%arg-1% &7has been frozen by &4%player% &7for hacking, &4do not logout!"
  83. send "&4You were frozen by %player% for hacking, do not logout or you will be permanently banned %newline%. You can admit for a shorter ban or accept a screenshare! %newline% &4Join our discord and join Requesting Staff if you wish to do a screenshare and prove your innocence! %newline% &4Here is the discord link! -> &7&nhttps://discord.gg/A59nAy2&4 <- %newline%" to arg 1
  84.  
  85. command /unfreeze [<player>]:
  86.  
  87. permission: freezer.freeze
  88.  
  89. trigger:
  90.  
  91. if arg 1 is not set:
  92.  
  93. send "&4Error >> &cdo /unfreeze (player)"
  94.  
  95. if arg 1 is set:
  96.  
  97. set {freeze.move.%arg-1%} to false
  98.  
  99. send "&a&o%arg-1% has been unfrozen"
  100. broadcast "&7&a%arg-1% &7has been unfrozen by &a%player%!"
  101. send "&2You were unfrozen by %player%! Sorry about that. Have a nice day &cā¤" to arg 1
  102.  
  103.  
  104. on any movement:
  105.  
  106. if {freeze.move.%player%} is true:
  107.  
  108. cancel event
Add Comment
Please, Sign In to add comment