How To Make Part/Object Resize Or Grow with one side

I wanted to make Star Finger from JJBA
9f9162a3830148e69680ec6e37c387c28244e2c0
something like that

local function asdhwahsd(Player)
	local character = Player.Character
	local Stand = character:FindFirstChild("Stand") 
	local Finger = script.StarFInger:Clone()
	Finger.Parent = Stand.LeftHand
	Finger.CFrame = Stand.LeftHand.CFrame * CFrame.new(-.475,0,-.225)
	local weld = Instance.new("Weld")
	weld.Part0 = Finger
	weld.Part1 = Stand.LeftHand
	weld.Parent = Finger
	local tweeninfo = TweenInfo.new(
		1,
		Enum.EasingStyle.Linear,
		Enum.EasingDirection.InOut,
		0,
		false,
		0
	)
	
	local goal = {
		Size = Vector3.new(0.15,3,0.25),
		Position = Vector3.new(Finger.CFrame.Y + 1.5)
	}
	local FingerGoesLongBrrrrrr = Tws:Create(Finger,tweeninfo,goal)
	FingerGoesLongBrrrrrr:Play()
end

part.Size += Vector3.new(0, 0, 0)

Change one of the components of the Vector3 value depending on which axis you want the part to scale along.

2 Likes

Look at the solution on this post, it worked out for me well.