:MoveTo() is completely not working

I am trying to use :MoveTo() to move a non player character to a player in their range. it detects the player in range, it even sets the walk to point position correctly, no errors, character not anchored, and nothing happens. Literally the character will never move ever, at all, at any time. This is seriously super confusing. I have looked on the forum and found nothing like this. I am genuinely perplexed by this, this has never happened before any other time I have used :MoveTo()

This is what I use for moving the character /

script.Parent.Humanoid:MoveTo(PlayerPosition.Position)

And if it helps, I am using it on the client, as the player detection is, and I had trouble sending over the value.

2 Likes

Maybe

script.Parent:PivotTo(CFrame.new(PlayerPosition.Position))
1 Like

I am making them walk because its a small monster that chases people until they leave the range. immediately moving them via :PivotTo() is not what I want.

1 Like

Ok, I’m just trying use a PivotTo(). Been working great for me vs any other type of move.

I don’t know much about network ownership but I think if the NPC is created on the server then you cannot do stuff with it on the client

I’m probably wrong though so maybe you should wait for more replies

2 Likes

he is talking about humanoids, not PVInstances

1 Like

I got it to work. It turns out what you said was true. I ended up just changing the value of the player being detected to be changed on the server instead of client, so server could see it. it worked.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.