to an unanchored part (called ‘PointE’) on their screen only.
I’ve looked on the Dev Hub & people have had the same problem as me but most of them just forgot to set the Models PrimaryPart. I’ve already set it to the HumanoidRootPart.
This is my LocalScript inside StarterGui:
local fox = game.Workspace:WaitForChild("Fox")
local humanoid = fox:WaitForChild("Humanoid")
local foxPoint1 = game.Workspace:WaitForChild("PointE")
humanoid:MoveTo(foxPoint1.Position)
humanoid.MoveToFinished:Wait()
The fox doesn’t move to the part. Please can someone tell me what I’m doing wrong, thanks & happy easter.
Local scripts, I believe, only work in the player’s character or in locations linked to the player, such as the GUI and tools. They can still transfer your NPC if the local script is inside of these locations, all you have to do is modify the location. x
It is what a local script do.
I believe what you did was move the humanoid, which doesn’t affect much on the character. Use MoveTo() on the HumanoidRootPart would be the best.
And, if you’re moving the fox like you said, there is no need to put the local script in StarterCharacterScripts.