Why am I getting this tween error?

Hello. So I’ve ran into a problem with tweening. I keep getting this Dictionary Unable to cast error and im confused whats going on. Please help.

image

on the FrameGoal, it should be like this

local FrameGoal = {["Position"] = Pos}
2 Likes

TweenService is a module in Roblox. In order for you to use it, you need to require it in your script.
local TS = require(script.TweenService)

That is incorrect. To import TweenService you must do game:GetService("TweenService")

No…? That’s not how to get TweenService. You use game.TweenService or game:GetService("TweenService").

1 Like