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