My built in roblox health script isn’t regenerating any health, is there any way to fix it?
Is this the default script named Health that is inside all Roblox players?
Or, is this a copy of it that has been placed into a LocalScript?
It is the default script and I didn’t do anything to it
could the connection be tampering with the health
Try this file and see if your health regenerates after touching the red block.
HealthTest.rbxl (53.7 KB)
It regenerates after touching the red brick. In my place I tried deleting every script, every part, everything that could tamper the health and it still does not regenerate, I tried taking the scripts to a different place (new game) and it didn’t regenerate health. Should I consider replacing the built in health script?
If the health script works for you in the file I posted then there is nothing wrong with your Studio and nothing wrong with the script.
That means something is wrong with one of your scripts.
Replacing the Health script doesn’t seem like a solution since something is still wrong.
The script that was damaging the player was a local script, so on the server the player still was 100hp. Regeneration works now.
Thank you for helping me find the solution
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.