Moving a Model to Torso's Position

Hello, I’m trying to move a model to the Torso’s position but so it’s above. Like a rain cloud, I’ve searched the entire forum and haven’t found any solutions.
I keep getting this error:
Screen Shot 2020-12-13 at 10.27.45 AM
This is the script:

script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr)

	
	local candycanes = game:GetService("ReplicatedStorage").CandyCanes.CandyCanes:Clone()
	candycanes.Parent = workspace
	
	
	candycanes:SetPrimaryPartCFrame(plr.Character.HumanoidRootPart.CFrame + Vector3(0,0,3))
	
	
end)

Any help is appreciated, thanks in advance.

(P.S I don’t have a lot of experience with SetPrimaryPartCFrame() so I assume I used it wrong.)

Instead of using Vector3(0, 0, 3), try using Vector3.new(0, 0, 3).

1 Like