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.

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.

on the FrameGoal, it should be like this
local FrameGoal = {["Position"] = Pos}
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").