How to make a Pseudo-Health Bar

I know there are guides on pseudo-health and what it is, so on this guide I’ll be mainly focusing on the BAR part. This is my first guide, hope you like it!

1.Game settings

Go to the "Health&Shield part, and set this to No:
image
" The other settings you can choose for yourself.

2.The Pseudo-Health Properties

Create a new property device like this.
image
Repeat this 2 times.
For the first property, make the name “Health” and set it to a player property. Make it a number type, and set the default value whatever you want (it can be any number!)


Repeat this for the shield property, and make that property named “shield”

3.Pseudo-Health Mechanics

Add a checker device.
image
Make it check when recieving on “repeat”
set check 1 to this:


If you don’t already have an infinite loop in your map, create a trigger loop or a repeater.

Trigger Loop

make a trigger, and configure it like this:
image
Make a lifecycle and wire it to the trigger.


there you go! a trigger loop!

Repeater

Create a repeater device
image
and a lifecycle device
image
and wire them together


set the setting exactly like this:

Then make the checker run check while recieving on “repeat” or the channel that is infinitely looped. Then, add a respawn device.
image
wire it to the checker


then, make a trigger. Wire it to the checker like this:

click on the trigger, then click on the blocks part:
image
create a new block
image
then add some pieces like this:
image
In place of the 0s, put the number that is default for your health and shield.

4.Subtracting Health

If you’re making Pseudo-Health, chances are that you would want to damage the player. First, create another property called “Additional Value” which we’ll get to later.


In a block that runs when your player is damaged (it could be in a trigger that is wired to a zone or something) put this:

this will make it so only when your shield runs out will your health start running out. (you can replace 5 with a custom amount of damage or even a property)

5. Health Bar (most important)

This is the most important part of this guide, and what makes it different from other pseudo-health guides. The health bar. This is a traditional gimkit health bar:
image
This is what your PSEUDO health bar will look like:
image
exactly the same, right?
OK, now let’s get onto the details. In a game overlay you can’t create a new line “surprise surprise!” So you would have to MAKE it create a new line. The current longest unicode character is ﷽. (gimkit also has a character limit!) Paste a few of these and you will get another line in even the widest screens. Create a game overlay
image
and make the settings this:


You don’t have to make the default text part as it will change. Then, create two properties called “healths” and “shields” and configure the settings like this:

Go back to the overlay. In the blocks section, create a new block like this:
image
The channel is the channel that runs infinitely looping. This is where things start to get complicated. I won’t be making a system that can make the health bar ANY length, as that will get a bit TOO complicated. Instead, the length will be up to five emojis. I will be making the health and shield up to 100, but you can change the values to suit your health limit.

unluckily, there’s a block limit so just create another block and put this in:

And it works!

Chrysostom's alternative method

if get property (shield) > 80
do set property (shields) value :blue_square: :blue_square: :blue_square: :blue_square: :blue_square:
**else if
** get property (shield) > 60
do set property (shields) value :blue_square: :blue_square: :blue_square: :blue_square:
so on and so on…

for this thing


the complete text is ﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽

The finished thing looks like this:


IMPORTANT NOTE: This won’t really work for people who have an overlay in the upper left and right corners.

  • What difficulty should this guide be?
  • 0/10 :white_large_square:
  • 1/10 :blue_square:
  • 2/10 :green_square:
  • 3/10 :green_square:
  • 4/10 :yellow_square:
  • 5/10 :yellow_square:
  • 6/10 :orange_square:
  • 7/10 :orange_square:
  • 8/10 :red_square:
  • 9/10 :red_square:
  • 10/10 :purple_square:
  • 11/10 :skull:
0 voters
6 Likes

This is good! I have a few things to say though.

  1. Please Never Use Repeaters (and a guide on looping)
  2. This wouldn’t really work for people who need to use all 4 overlays or people who would like to put an overlay in the top-right corner.
    Overall, creative idea that people can use, lots of pictures, and a great guide!

why is there arabic
on the top of the screen

If you read the guide, that is unicode. The longest Unicode symbol apparently.

1 Like

You can also put the overlay in one of the bottom corners of the screen because they support line wrap to avoid hitting the inventory.

3 Likes

In the code for the health you can use the “else if” block instead.
example:
if get property (shield) > 80
do set property (shields) value :blue_square: :blue_square: :blue_square: :blue_square: :blue_square:
**else if
** get property (shield) > 60
do set property (shields) value :blue_square: :blue_square: :blue_square: :blue_square:
so on and so on…

2 Likes

Does the invisible character work?

as in?

no because it isn’t long enough to make it become another line

thanks for the advice!

1 Like

nvm I don’t think you can copy that. Try this:

Invisible characcter

‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

Or maybe spaces work?
edit: ire I posted too late

I just added the trigger loop method! And I also posted a note at the end.

I can do that, but then it won’t be in the same place as a real health bar :thinking:

I just added this as an alternative method.
Thanks for all your advice!

3 Likes

This is really cool, but ah, please use concatenation like @chrysostom said, it’s so much faster and less waste of blocks. Also, I’d personally just use the space bar until you reach a new line as it’s a lot cleaner, but really nice guide nonetheless

1 Like

There’s a character limit, why do you think I’m using the longest unicode character? :joy:

3 Likes

Actually, I’m pretty sure it’s possible to bypass. You just get a text block and fill it with 512 spaces, then combine that with another text block with 512 spaces and repeat that a few times. Then put that between the heath and shield emojis. Not sure if this works since I haven’t tested this for anything but properties, but it should.

4 Likes

hmmm I guess I’ll try that later