why is it shrinking on the y axis? when im only changing it on the x
NewCooldown.Position = UDim2.fromScale(0,NewCooldown.Position.Y.Scale + MoveUp)
task.spawn(function()
for I = Time,0,-0.01 do
print(I)
local CooldownBarSize = NewCooldown.CooldownBar.Size
NewCooldown.CooldownBar.Size = UDim2.fromScale(I/Time,1)
task.wait(0.01)
end
NewCooldown:Destroy()
end)
this
If you want to use an AspectRatioConstraint, you’ll need to change it dynamically. That defeats the whole purpose of it, though, to be honest. If you’re using it to make scaling easier on the axes, just set the SizeConstraint variable on the GuiObject itself.