Receiving “Unable to cast to Dictionary” error for tween

Hello, i don’t know why im receiving this error? And im in confuse…

This is the script:

local TweenService = game:GetService("TweenService")
local Portal = game.Workspace.PortalBlock

local Info = TweenInfo.new(
46,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)

local Goals = {
Color3.fromRGB(199, 172, 120);
}

local Cutscene = TweenService:Create(Portal, Info, Goals)

while true do
game.Workspace.Portal:Play()
Cutscene:Play()
Cutscene.Completed:Wait()
wait(100)

end

image

1 Like

You need to make the goal this.
It has to have the property name your changing.

local Goals {
Color = Color3.fromRGB(numbers here)
}
4 Likes

Hallelujah!! This the solution! Please make him the solution.

2 Likes