By versatile in exact terms, I mean if a character's maxhealth was more or less than 100, how can I size my Health Bar?
while wait() and plr.Character do
script.Parent.Size = UDim2.new(plr.Character.Humanoid.Health/100,0,1,0)
end
This script works at any MaxHealth, but the size of the GUI either larger or smaller depending on its max health. I want the overall size of the GUI to stay the same whether or not the max health changes. How can I go about doing this?

2 comments
How did I forget I could do that... thanks for telling me or else this would've taken me days lmao
no problem.. remember to always use the Wiki, it is a good source to know more about objects in ROBLOX.