I wanna make this bar go to the left than shrink in between the middle.
function Formula(Number)
return (Number/MaxHealth) / 2
end
UDim2.new(Formula(health),0,0.167,0)
Note the frame X size is 0.5 rather than 1.
I wanna make this bar go to the left than shrink in between the middle.
function Formula(Number)
return (Number/MaxHealth) / 2
end
UDim2.new(Formula(health),0,0.167,0)
Note the frame X size is 0.5 rather than 1.
You need to have the anchor point at (0, y) if you want the bar to shrink to the left.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.