Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &1[&cPotential&aDeath&1]
- command /potentialdeath <text>:
- permission: sk.op
- trigger:
- if arg-1 is "enable" or "on":
- set {pot} to true
- broadcast "{@P} &6is now enabled!"
- loop all players:
- set {Kill::%loop-player%::Got} to 0
- else:
- else if {pot} is true:
- message "&6Already enabled!"
- if arg-1 is "disable" or "off":
- delete {pot}
- broadcast "{@P} &6is now disabled!"
- loop all players:
- set {Kill::%loop-player%::Got} to 0
- else:
- else if {pot} is false:
- message "&6Already disabled!"
- on death of player:
- if {pot} is true:
- set {Kill::%victim%::Got} to 0
- add 1 to {Kill::%attacker%::Got}
- if {Kill::%attacker%::Got} is equal to 1:
- command "/setmaxhealth 22 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 2:
- command "/setmaxhealth 24 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 3:
- command "/setmaxhealth 26 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 4:
- command "/setmaxhealth 28 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 5:
- command "/setmaxhealth 30 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 6:
- command "/setmaxhealth 32 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 7:
- command "/setmaxhealth 34 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 8:
- command "/setmaxhealth 36 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 9:
- command "/setmaxhealth 38 %attacker%"
- else if {Kill::%attacker%::Got} is equal to 10:
- command "/setmaxhealth 40 %attacker%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement