Trying to make a part follow the camera, part has some sort of weird offset

What do you want to achieve?
I’m trying to make a part spawning system.

  1. What is the issue? Include screenshots / videos if possible!
    When spawning, the spawned objects have some random offset that I don’t remember adding. I made a test part that follows the part each frame. and here’s what I got.

and heres the code:

local newp = Instance.new("Part", workspace)
newp.Anchored = true
newp.Name = "tb"

while wait() do
	mouse.TargetFilter = newp
	print("rah")
	newp.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y, -283.46) * CFrame.Angles(0,-45.5,0)
end