How to change the health and shield of all players without changing their teams

I just pasted the code in and created the verse device for it. I’ve linked the buttons to the device and put in my health values however it doesn’t seem to be changing it at all. Is there something else I have to change in the code?

EDIT: It appears to be working now. However the granted health on elim only works when one of the buttons is selected. ie. If the player loads in on the default 100 health + 100 shield (as per the island settings) no health will be granted on elimination if they have taken damage unless they select one of the buttons that changes their health. The island settings have health granted on elimination set to 200 but it doesnt seem to be taking affect so I am thinking something else is over-riding it.

ANOTHER EDIT: Just realised that I am testing against a sentry so I’m not sure if the island settings grant siphon on elim against Sentry’s. I will test this with a friend later