Is there a way to use the :Resize method to tween the size of a part?

I’m currently making a fighting game, and I want there to be a 3D Viewport health bar, but the issue is that, I want to use the :Resize method/function of a part while also tweening it so that it isn’t instant. How would I go about doing this?


local player = game.Players.LocalPlayer
local viewport = script.Parent
local character = player.Character or player.CharacterAdded:Wait()

local GreenBar = viewport:WaitForChild("Health_Green")

local cam ="Camera")
viewport.CurrentCamera = cam
cam.Parent = viewport

cam.CFrame =, 0.965, 37.515)) * CFrame.Angles(math.rad(3.307), math.rad(-23.772), math.rad(0))

local Part ="Part"):Resize(Enum.NormalId.Left, -1)

	local sizeX = (character:WaitForChild("Humanoid").Health / character:WaitForChild("Humanoid").MaxHealth) * 7
	local tween = game:GetService("TweenService"):Create(GreenBar,, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {
		Size =, GreenBar.Size.Y, GreenBar.Size.Z)