Inverting CFrame

I am making a ball that follows your camera’s movement, however the ball currently comes at the camera, and I want to to go the other way.

local cameraangle = (workspace.CurrentCamera.CFrame.Position)
local test = CFrame.new(cameraangle, chr.Torso.CFrame.Position)

How would I invert the CFrame? I tried inverse but it didn’t come out as I was looking for.

Multiplying one of the CFrame axis with pi allows you to do that.

local test = cameraangle * CFrame.Angles(0, math.pi, 0)

It has not fixed my issue. It is still not inverted…

Figured it out, and kept using math.pi, so you did help. Thank you!

You still on the forums? since the ball has a player standing on it, I want to player to also follow the camera’s positioning, however It is not working.

Can you explain with more detail please?

I keep forgetting to reply but all I had to do was repeat the same line with the ball but make the line

direction = (the.LookVector * -1) * speed
--// to
local thefinale = (testing.LookVector * -15)