Well, I have this code:
tweenService:Create(newMissile, TweenInfo.new(0.01, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {CFrame = CFrame.new(point, bezierPoints[pointNumber + 1] or CFrame.new(point):ToWorldSpace(CFrame.new(0, -1, 0)))}):Play() --:ToWorldSpace(CFrame.Angles(math.rad(-90), 0, 0))}):Play()
When I run it, it gives me an error and says: Vector3 expected. It refers to this part of the code: ToWorldSpace(CFrame.new(0, -1, 0)). So, I decide to do this which would make it return a CFrame value: ToWorldSpace(CFrame.new(0, -1, 0)).Position. Once I do that and run the code, it says CFrame expected. I had some more code (in that line) but I had to take it out to figure out where the error was coming from. By the way, newMissile is a part, bezierPoints is a table, it’s in a loop with key pointNumber and point is a Vector3.
If you’re wondering, I did pinpoint exactly where the error is correctly. If you want to try again, I’m more than happy to send you a bigger fragment of the code.