How do I spawn a part to the left of the HRP?

What do you want to achieve?
I’m trying to spawn a part to the left of the HRP to test my raycast.

What is the issue?
I think it’s spawning relative to the world space because it moves 0.75 studs in a certain direction even when I turn the character.

What solutions have you tried so far?
I found about the ToObjectSpace API but I don’t really know how to use it.

local part = Instance.new("Part",workspace)
part.Position = root.Position-Vector3.new(0.75,0,0)

You should use ToWorldSpace instead of ToObjectSpace.

part.CFrame = root.CFrame:ToWorldSpace(CFrame.new(0.75,0,0))

Thing on the right will treat thing on the left as though it were the center of the world.