Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Tween Service not working on client? [closed]

Asked by 4 years ago

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?

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. Fifkee 2017 — 4y

Locked by User#24403

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?