So I am trying to make it so an npc’s body follows the players HRP, but it does not work, any help?
local re = game.ReplicatedStorage.RobClothes boi = false local UpdateSpeed = 0.5 local Core = workspace.GunNPC:WaitForChild("HumanoidRootPart") TurnCharacterToMouse = false re.OnServerEvent:Connect(function(Player) if TurnCharacterToMouse == false then TurnCharacterToMouse = true game.Workspace.GunNPC.RobbedShooting.BR.Value = true if TurnCharacterToMouse == true then Core.CFrame = Core.CFrame:lerp(CFrame.new(Core.Position, Vector3.new(Player.Character.HumanoidRootPart.Position, Core.Position.Y, Player.Character.HumanoidRootPart.Position)), UpdateSpeed / 2) end end end)