So i am trying to tween a part and i end up getting the error "Attempt to call a user data value"
Here is my script
local TweenService = game:GetService("TweenService")
local part = script.Parent
local tweenInfo = TweenInfo.new(
5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
local goals =
{
Size = Vector3.new(15,15,15);
}
local makePartBiggerTween = TweenService(part, tweenInfo, goals)
wait(1)
makePartBiggerTween:Play()

1 comment
what is the script's parent? if its under the player then the variable is invalid