Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can anyone help fix this "ambiguous syntax"(I dont see the problem)?

Asked by 3 years ago
Edited 3 years ago

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()


Answer this question