Tweening not working!

My frame is not tweening, and I don’t know why. Thank you if you can help me. Also, there are no errors in the output!

script:

local healthbar = script.Parent

local health = 30

while wait(1) do
	health = health - 1
	healthbar:TweenSize(UDim2.new(health/30, 0, 1, 0))
	
	print(health)
	
end

i believe TweenSize requires more arguments, but also i would recommend using tweenservice instead for this: TweenService | Roblox Creator Documentation

No, that’s false. TweenSize doesn’t require more arguments, but you can add more arguments if needed. The script I sent worked fine yesterday,

But, Thank You for your feedback!

i, will use TweenSerive!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.