My gui size keeps changing because of the script

Internally screaming with the parented Objects
Honestly I get confused with so much Properties branching off, my bad then

1 Like

It’s fine, we’re all here to learn, I just wanted to help out cus your solution should be correct except for that one error.

1 Like

I would also like to add one thing, as some games don’t always use 100 as the max health. You should in-turn keep that in mind when coding. Humanoid.Health/Humanoid.MaxHealth would be more suitable. Hope everyone has a good day!

I have figured out why. So in the script it says:

script.Parent:TweenSize((UDim2.new(hp,0,1,0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.15)

As I looked more into the script, I realized that the reason it was off and got bigger was because the script tried to make it the same size as the frame the frame with the script is in (if it’s a bit confusing to read I’m sorry). So I found out how to fix this problem and would like to thank everyone who tried to help. Thank you!

Thank you to everyone who tried to help! I really appreciate it!