Making a NPC carry a Player

I am trying to make a NPC that can Carry a Player around

The problem is that the NPC carrys the player and it can walk properly with no problem but it doesnt play any idle animation or walking animation.(For the Animations i picked the animator from the character and changed the local script to Server)

NPC without carry anyone.

NPC carring me.

I tried Physics Service so they wont collide but it didnt change anything, i also tried changing the Massless Property and PlatformStand form both of the Models. My animations are the right Action type too, My idle is Idle and my Walking is Movement but i tried it on Action too. The weird thing is that i made a script into the NPC that only plays the idle animation and it played it. Maybe the animator doesnt work?

I added a Motor6D to the Players HumanoidRootPart and Connected it to the NPCs Right Hand:

local Motor6D = Instance.new(“Motor6D”)
Motor6D.Part0 = eHumanoidRootPart – Player`s HumanoidRootPart
Motor6D.Part1 = Character.RightHandToxic – Character is the NPC
Motor6D.Parent = eHumanoidRootPart

A video of my Problem:
robloxapp-20210615-1143138.wmv (3.5 MB)

Am i doing something wrong? is there a way to make this?

To help you fully, can you describe the type of event the grabbing is connected through? It would be easier to make the script. If not, then I will provide a function (below) that should weld the player to the arm.

  1. Make a part where the HumanoidRootPart should be when grabbing
  2. Weld it to the Hand
  3. Here is the function: (modify how you’d want to)
local GrabPart = -- Path to grab part
local HRP = -- HumanoidRooPart path
local Weld = Instance.new("WeldConstraint",HRP)
HRP.CFrame = GrabPart.CFrame
Weld.Part0 = HRP
Weld.Part1 = GrabPart

This should work!

Okay so i did in a local script when a player reaches 10 health, then it would fire a remote event to the server once. In the server script i added PhysicService so the NPC and the Player wont collide, also changed each BasePart of the Player to be Massless = true and made the Player`s Humanoid PlatformStand to true, then it would spawn the NPC and grab the player, i tried your lines of code but it was just the same as before.