" Unable to cast to Dictionary" Error Code

local Part = script.Parent
local Tween = game:GetService(“TweenService”)

local Info = TweenInfo.new(

5,
Enum.EasingStyle.Elastic,
Enum.EasingDirection.In,
0,
false,
1

)

local list = {
Vector3.new(25,25,25)
}

local BiggerBetter = Tween:Create(Part,Info,list)

BiggerBetter:Play()

671ae855ae2e0fe639111a5e2f21e3f1

This is because in the list table, you did not name the property you want to be changed so the function sees it as an array and doesn’t know what property to change

local list = { -- what it looks like
[1] = Vector3.new(25,25,25)
}
local PropertyName = "Size"

local list = { -- what it should be
[PropertyName] = Vector3.new(25,25,25)
}

Oh okay thank you

I was wondering if i had to do that you just cleared thing up for me thank you