local c=Frame.Size.X.Scale local m=Frame.Size.Y.Scale Player.DataFolder.Gems.Changed:Connect(function()StatTrack.Text=Gems.Value local function V()Frame:TweenSize(UDim2.new(c,0,m,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.125,true)end Frame:TweenSize(UDim2.new(c+.019,0,m+.019,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,.125,true,V)end)

local FSX = Frame.Size.X.Scale
local FSY = Frame.Size.Y.Scale

Player.DataFolder.Gems.Changed:Connect(function()
	StatTrack.Text = Gems.Value

	local function GoBack()
		Frame:TweenSize(
			UDim2.new(FSX,0,FSY,0),
			Enum.EasingDirection.Out,
			Enum.EasingStyle.Back,
			0.125,
			true
		)
	end

	Frame:TweenSize(
		UDim2.new(FSX + 0.019 ,0,FSY + 0.019,0),
		Enum.EasingDirection.Out,
		Enum.EasingStyle.Back,
		0.125,
		true,
		GoBack
	)


end)

