i dont know how can you help?
Just set the health or max health to a really big number, and it should automatically set it to "inf", or infinite.
https://developer.roblox.com/en-us/api-reference/class/StarterPlayer
https://developer.roblox.com/en-us/api-reference/property/Humanoid/MaxHealth
https://developer.roblox.com/en-us/api-reference/property/Humanoid/Health