The error is unable to cast dictionary and its talking about the "local movingObstacle" line.
local part = game.Workspace.Union local TweenService = game:GetService("TweenService")
local Info = TweenInfo.new( 1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, -1, false, .1 )
local goals = {
part.Position == Vector3.new(8.3, -0.1, 70.3)
}
local movingObstacle = TweenService:Create(part, TweenInfo, goals)
movingObstacle:Play()

1 comment
Put the code between the code block next time, yes?