So the error says "ambiguous syntax: this looks like an argument list for a function call but could also be the start of a new statement".
I don't really get what any of that means.
also what is a function call?
local TweenService = game:GetService("TweenService")
local part = script.Parent
local info = TweenInfo.new ( -1, Enum.EasingStyle.Sine, Enum.EasingDirection.In, -1, false, -1 )
local goals = {
part.CFrame == CFrame.Angles(0,math.rad(360),0)
}
local RotationBegin = TweenService:Create{part, TweenInfo
wait(2) RotationBegin:Play()