Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- if attacker is player:
- set {anti-clean.%attacker%} to true
- send "&d&lAnti-Clean Protection Activated" to the attacker
- wait 10 seconds
- set {anti-clean.%attacker%} to false
- send "&c&lAnti-Clean Protection Removed" to the attacker
- on damage:
- if {anti-clean.%victim%} is true:
- send "&d&l%player% Has Anti-Clean Activated"
- cancel event
- if {anti-clean.%attacker%} is true:
- set {anti-clean.%attacker%} to false
- send "&c&lAnti-Clean Protection Removed" to attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement