TweenSize is working but a wrong way

So the bar should slide instead of just doing these weird things but its not!
it was sliding 1 minute ago and now its not

https://gyazo.com/a65889fd6dbf608e972da5a66ba93202

script:

EXP.Changed:Connect(function(Done)
		if Done then
			plr:WaitForChild("PlayerGui").Main.Level_Bar.Bar:TweenSize(UDim2.new(EXP.Value/RequiredExp.Value, 0, 1, 0))

		end
	end)
	
1 Like

Are you sure there are no other script that is handling the size of the bar? And also, is this a local script or a server script?

1 Like

Are you sure the Done variable is not messing with things. Just add

print(Done)

before your if statement to verify, cos I suspect that is the issue,

1 Like