#HEADS SHOULD BE OFF# #HEADS WILL HEAL THE SAME AS GOLDEN APPLES# #/sce link Compensation #YOU NEED THIS: http://redd.it/2m90yh on death of a player: {scenarios::compensation::on} is true {Teams::*} is set set {_TeamNumber} to {Teams.InTeam::%victim%} {_TeamNumber} is set (size of {Team.%{_TeamNumber}%::*) is more than 1 delete {comp::%victim%} remove victim from {Team.%{_TeamNumber}%::*} command "/team leave %victim%" loop {Team.%{_TeamNumber}%::*}: set {_Player} to (loop-value parsed as offlineplayer) set {_add} to ((the victim's max health)/(size of {Team.%{_TeamNumber}%::*})) set {_Player}'s max health to ({_Player}'s max health + {_add}) add floor({_add}/{_Player}'s health) to {comp::%{_Player}%} remove 1 from {comp::%{_Player}%} apply regeneration 2 to {_Player} for 25 ticks on heal: {scenarios::compensation::on} is true event-entity is a player wait 1 tick if {comp::%player%} is less than or equal to 0: remove regeneration from the player set {comp::%player%} to 0 else: remove 1 from {comp::%player%} on consume: {scenarios::compensation::on} is true item type is a golden apple if {comp::%player%} is not set: set {comp::%player%} to 0 wait 1 tick remove regeneration from the player set {comp::%player%} to floor(player's max health/5) remove 1 from {comp::%{_Player}%} apply regeneration 2 to {_Player} for 25 ticks on craft of arrow: {scenarios::compensation::on} is true give 12 arrows to the event-player