Health bar/counter

I am working an an FPS, and I have a property attached to the player named “health” with a value of 100
The player is in a scene named “Main”

I have a scene dedicated to a HUD, and the scenes name is “HUD”

What kind of Python script do I need to write in order to have the value from “health” displayed by the health bar?

Here is an old tutorial on health bars, should still work :slight_smile: because its an overlay scene I don’t think you’ll need to use GlobalDict, so you can probably get away with using messages

Read the BGE Guide to Messages incl. Healthbar tutorial.
You can find other guides in my signature.

Disregard my link. If professor M has a tutorial on it, its the one to use