Fuly Scripted Health Bar GUI System —
This system adds a Health Bar GUI to the player’s screen that shows their current health in real time.
- The bar decreases smoothly when the player takes damage and increases when they are healed.
- The GUI includes a background, a fill bar, and a text label showing health (e.g., “80 / 100”).
- It is connected to the player’s Humanoid.Health, so it always updates correctly.
- When the player dies and respawns, the bar resets to full health.
There are also two special parts in the game world:
Damage Part – When touched, it lowers the player’s health (e.g., by 20).
Heal Part – When touched, it restores the player’s health (e.g., by 20, up to the max).
The health bar uses TweenService for smooth animations, making it feel responsive and polished.
