I'm making a client only tweening part. And the part didn't tween, but there is no error output. My code is like this

local TweenService = game:GetService("TweenService")
local Info = TweenInfo.new(0.8,Enum.EasingStyle.Elastic,Enum.EasingDirection.In,1,true,0)
script.Parent.MouseButton1Click:Connect(function()
	local PartA = workspace.PartA
	local Table = {Position = Vector3.new(100,100,100)}
	TweenService:Create(PartA,Info,Table) -- I think it's the problem
end)

What happened?

1 comment

4

You forgot to call :Play() on the created tween. :Create() returns a tween instance, but you need to call the :Play() method in order to execute the tween.