Workspace.Part.Script:5: Expected '}' (to close '{' at column 60), got '='

Hello, I’m trying to learn how tweening and cframes, and I am getting this error and being new to scripting, have no idea what this is and cannot find any relevant material to help.

local part = script.Parent

local TweenService = game:GetService("TweenService")

local tween = TweenService:Create(part, TweenInfo.new(10), {part.CFrame = part.CFrame * CFrame.new(0, 10, 0)}
tween:play()
tween.Completed:Wait()

Thanks in advance.

local tween = TweenService:Create(part, TweenInfo.new(10), {part.CFrame = part.CFrame * CFrame.new(0, 10, 0)})

the output exactly states that you did not close the bracket at the end of this line

It’s still giving the same output with that bracket

local tween = TweenService:Create(part, TweenInfo.new(10), {CFrame = part.CFrame * CFrame.new(0, 10, 0)})

1 Like

oh i forgor to read the entire thing :skull: