Removing passive heals in Custom games?

As the title says im looking for a way to remove passive heals from a gamemode me and my friends have been playing for years. It’s a gamemode about one SUPER op guy finding the other guys an killing them. That’s however besides the point

The passive heals is ruining my gamemode and i’m trying to find a way to disable it. I know you can do it in the workshop but i’ve never touched it before. Do any of you guys know how to remove it in the workshop and are willing to give a detailed explanation of what i am to type into the workshop for it to work?

It’s greatly appreciated.

variables
{
	player:
		0: StoredHP
}

rule("Method - SetHealth")
{
	event
	{
		Ongoing - Each Player;
		All;
		All;
	}

	conditions
	{
		Health(Event Player) < Max Health(Event Player);
	}

	actions
	{
		Wait(Is True For Any(All Support Heroes, Hero Of(Event Player) == Current Array Element) ? 2.500 : 5, Abort When False);
		Event Player.StoredHP = Health(Event Player);
		Set Player Health(Event Player, Max Health(Event Player));
		Wait(0.016, Ignore Condition);
		Set Player Health(Event Player, Event Player.StoredHP);
		Small Message(All Players(All Teams), Custom String("Method - SetHealth"));
		Loop If Condition Is True;
	}
}

works well as it wont have the damage indicator (most other methods do), it will still make critical injury sounds if your low and it triggers though.

alternatively if you aren’t using any form of healing in your mode you could start a Healing modification for everybody to 0%, to disable all healing.

also if you are using healing but no healing under primary fire (primary fire is default, so brig inspire is a primary fire healing), then you could remove healing from the Primary fire type with

rule("Method - Remove Healing")
{
	event
	{
		Player Received Healing;
		All;
		All;
	}

	conditions
	{
		Event Ability == Button(Primary Fire);
	}

	actions
	{
		Set Player Health(Event Player, Health(Event Player) - Event Healing);
	}
}

(these snippets can be copy pasted into the workshop if your on PC btw)

You can either deal 0.001 damage per 5 seconds if it’s a tank/damage hero or 2.5 secs if it’s a support hero, or you can check if a player received healing and if the Healer is Event Player and Event Ability is null and damage them for the Event Healing value