How do I make npc fly with me?


Well, the npc show fly back to me.

script:


local RS = game:GetService("RunService")

local stand = game.ReplicatedStorage.Stand:Clone()
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local camera = game.Workspace.CurrentCamera

stand.Parent = char

RS.RenderStepped:Connect(function()
	
	local head = char:FindFirstChild("Head")

	if head then
		
		local someDistance = Vector3.new(0, 0, -5)
		local lookVector = head.CFrame.lookVector
		local newPosition = head.Position + lookVector * someDistance -- Adjust someDistance as needed
		
		stand:SetPrimaryPartCFrame(CFrame.new(newPosition))
	end

end)

I’m open to every help :smiley: