Jump to content

[help request] Simple Health % / name HUD resource

Recommended Posts


I am currently working on my roleplay server project, and I am trying to make a very simple resource, a HUD health / name resource, here is what I am trying to exactly replicate :


(( this is all there is, health and name in bottom left corner ))


(( this is what I currently have made ))

I have gotten the health and name down there, but I cannot place the dxDrawRectangle there, and when you get damaged it doesn't update, and if you update the resource the health shows for instance.. " 97.23712956% " not.. " 97% "

I need help replicating that resource..


Edited by NotRouchyS
Link to comment
2 hours ago, Tekken said:

Why can't you place the rectangle down there? Also use math.floor to get a integer out of a float:

math.floor(97.2371) = 97

I dont really understand how coordinates work, it took me like 2 hours just to get the " 100% " health window down there, and after that it took me another 40 minutes for the name...  + I dont know how to set the color to change on health for instance for when you are at like 15% health for it to be very redish dark orange..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...