(arhived)- fixed by pr here and here
This script fixes an issue where using /loadskin (from rsg-appearance) resets the player's health to 100. It also ensures health is properly restored when a player rejoins the server.
- Health resetting to 100 after using
/loadskin - Health not being saved or restored correctly after disconnecting and reconnecting
- Monitors the player's health every second
- Updates health in LocalPlayer.state and sends it to the server via metadata
- Restores correct health on login using saved metadata
It's a temporary solution and should be removed when issue will be fixed RSG codebase. More details in Discord discussion thread here.