I want to make a gui separate for both health and shield just like the fortnite one and they both 100 so it’s 200 health total
2 Likes
Assuming you have a frame with an anchorpoint of 0 on the x, this is some pseudo code of how to size a frame based on health
HealthBarFrame.Size = Udim2.fromScale(health/MaxHealth,1)
ShieldBarFrame.Size = Udim2.fromScale(currentShield/MaxShield,1)
1 Like
but i want to have it as maxhealth 200 so its easier to do the dmg later