Help with RayTracing raycastResult.CFrame

Hello, I’m new to Roblox scripting and I am having trouble setting the CFrame of a primary part to my raycastResult.CFrame.

Result2

Set it to the position - CFrame is not a valid property of a RaycastResult.

ToCloneObjectPrimaryPart.CFrame = CFrame.new(raycastResult.Position)
1 Like