This job is using the "MIT License" license.

So i need a really simple HUD created. It will be like this:

For ammunition iit should be in top right like this
...
Then in buttom right, i want information, all information should be:
Health, Armor, Money, Job, Name.
It should look like this:
https://i.gyazo.com/6197a5799a80a847d2497f305615a272.png
For health and armomr, the colors for text should be done depending on your health here is the code i use.

local healthStatus = "Healthy";
    local hp = LocalPlayer():Health();

    if (hp < 1) then healthStatus = "Unconcious";
    elseif (hp < 20) then healthStatus = "Critically Injured";
    elseif (hp < 40) then healthStatus = "Majorly Injured";
    elseif (hp < 60) then healthStatus = "Badly Injured";
    elseif (hp < 80) then healthStatus = "Mildly Injured";
    elseif (hp < 90) then healthStatus = "Slightly Injured";
    elseif (hp < 100) then healthStatus = "Slightly Bruised";
    end

    local percent = hp / 100;

    local hpcolor = math.Clamp(percent * 255, 0, 255);

Then in the text, you would set color like Color(255 - hpcolor, hpcolor, 0, 200)

I think its the same for armor
add me on steam for more information, needs to work on all screensizes, money should be formatted liike $555,999,222

  0 comments
  6 applications
Views 177
Added 2 months ago
Due 1 month ago
Budget $10.00
Tags