Tween Script not working (Updated)

Hi, I made a post about a tween script not working correctly. Somebody did help me fix the problem. But there was a script I accidentally left out. Here is the part that doesn’t work:

local HoverOverPlayBtn = Tween:Create(PlayBtn, TweenInfo.new(0.3, Enum.EasingStyle.Back.Enum.EasingDirection.Out)

Here’s the top script:

local TweenService = game:GetService(“TweenService”)

local Sidebar = script.Parent:WaitForChild(“Sidebar”)

local PlayBtn = Sidebar:WaitForFirstChild(“Play”)

local Title = Sidebar:WaitForFirstChild(“Title”)

local Tween = function(obj, prop, sty, dir, t)
return TweenService:Create(
obj,
TweenInfo.new(
t,
Enum.EasingStyle[sty],
Enum.EasingDirection[dir]
),
prop
)
end

local T_0 = Tween(Sidebar, {Position = UDim2.new()}, “Quad”, “InOut”, 0.4)T_0:Play()

Are there any errors? (30 characters)

Yep, let me show you. 19:22:56.054 - Players.bbgrot.PlayerGui.LocalScript:23: Expected ‘)’ (to close ‘(’ at column 38), got

That’s the error

You are missing a closing parenthesis for the :Create call.

local HoverOverPlayBtn = Tween:Create(PlayBtn, TweenInfo.new(0.3, Enum.EasingStyle.Back.Enum.EasingDirection.Out))
1 Like

Oh, thank you so much :happy2: