local donut = script.Parent
local twenservice = game:GetService("TweenService")
local tweninfo = TweenInfo.new(
2,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
9999999999999999,
true,
0
)
local goals =
{
CFrame = CFrame * CFrame.Angles(0, math.rad(-90), 0)
}
local twenyes = twenservice:Create(donut, tweninfo, goals)
wait(1)
twenyes:Play()
COMMUNITY QUESTION
I get a error when I run my game, it is coming from my tweening script, any know why?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
error:Workspace.dONUT.Script:17: invalid argument #1 (CFrame expected, got table)
you forgot to add donut, CFrame = donut.CFrame * CFrame.Angles(0, math.rad(-90), 0)
Thank u it works
Use -1 to represent indefinite repetition.
maybe u should close it or answer