Gain Money when doing damage

Hey, I’m making a boss fight mode and I just don’t know how to make a shop
First of all, here’s the code: JGWX6
The shop should only be available for team 1
It should also ONLY be accessible during hero picking

How much Points should you gain:
10 hp damage should be converted into 5 Points (1 hp damage = 0.5 Points

How I need the shop to be setup:
There needs to be 2 Rings in the spawn behind you
First Ring: Upgrade health - 5 hp per upgrade (Costs 300 Points)
Second Ring: Upgrade Speed - 2.5% per upgrade (Costs 150 Points)
(I will probably change the costs of these upgrade so also say what I should change later)

First of all: the method of gaining points should be very similar. Get a on damage dealt event and modify your points variable by event damage / 2

The Shops: Create 2 variables with a position and 2 variables with a health % modifier (using arrays is alot more complicated and will therefore take longer). Then if the player uses interact while under a distance threshold of any of these rings then their health is increased by %.

Sorry I don’t understand

Unfortunately I cannot include images in my posts. I tried to explain, but no offense: I am better served working on my Penumbra Gamemode, you can take the link from the forums as learning material.