I get the error Unable to Cast to Dictionary ( Line 7 ) What am I doing wrong
I'm trying to tween a model btw
local TweenService = game:GetService("TweenService")
local primary = script.Parent.A
local TweenIn = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out)
local tween = TweenService:Create(primary, TweenIn, -89.1, 170.39, 197.95)
game.Workspace.CallElevatorFloor1.ClickDetector.MouseClick:Connect(function()
tween:Play()
end)

1 comment
You have mistaken the arguments for
:Create(). The proper arguments areTweenService:Create(instance,TweenInfo,propertyTable). Read here for a correct example of Tweening: https://developer.roblox.com/en-us/api-reference/function/TweenService/Create