So basically, I wanted to have a way to detect when a player takes damage, and more importantly, WHAT TEAM, dealt the damage.
If I had this, then I think I would be able to have a way for some players to be able to heal other players.
Using enabling or disabling devices maybe I could have it where if it detects a player was damaged by a player from another team, it would grant that player health, to heal back the damage dealt plus some extra.
The problem is I don’t want sentries healing players, but they are gonna be on their own team.
So in summary
Is there a way to detect when a player takes damage and what team dealt that damage.
Or, if yall have a better way to do this, is there a way where a player can use a gadget to heal another player, but not be able to heal or be healed by the sentry team.