Advertisement
70sOn7

Anti-Clean

Nov 19th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. on death:
  2. if attacker is player:
  3. set {anti-clean.%attacker%} to true
  4. send "&d&lAnti-Clean Protection Activated" to the attacker
  5. wait 10 seconds
  6. set {anti-clean.%attacker%} to false
  7. send "&c&lAnti-Clean Protection Removed" to the attacker
  8.  
  9. on damage:
  10. if {anti-clean.%victim%} is true:
  11. send "&d&l%player% Has Anti-Clean Activated"
  12. cancel event
  13. if {anti-clean.%attacker%} is true:
  14. set {anti-clean.%attacker%} to false
  15. send "&c&lAnti-Clean Protection Removed" to attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement