local TweenService = game:GetService("TweenService")
local part = game:GetService("Workspace").newPart
local tweenInfo = TweenInfo.new(
10, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0
)
local goal = {}
goal.Shape = Enum.PartType.Ball
local tween = TweenService:Create(part, tweenInfo, goal)
tween:Play()
I get an error that says, "TweenService:Create property named ‘Shape’ cannot be tweened due to type mismatch (property is a ‘int’, but given type is ‘token’) but, I don’t understand what I’m doing wrong.