Begin Health_Regen_ScriptFloat hourShort hourset; This reads when the player sleeps or waits for an hour and causes the player to regenerate health accordinglyIf ( Menumode == 1 )If ( Hourset == 0 )Set Hour to GameHourSet Hourset to 1ReturnEndifElseif ( Menumode == 0 )If ( Hourset == 1 )Set Hourset to 0EndifEndifIf ( GetPCSleep == 0 )ReturnEndifIf ( Menumode == 1 )If ( Hour != Gamehour )Player->ModCurrentHealth 10 ; Change this number to add more health or less healthReturnElseif ( Hour == Gamehour )ReturnEndifEndifEnd