So I've tried over and over with many different methods and scripts and this is what I've got now
local npc = game.Workspace["NPC1"] c = CFrame.new(-56.415, 12.6, 44.465) * CFrame.Angles(4, 5, 6) npc.Humanoid:MoveTo(c.p) npc.Humanoid.MoveToFinished:wait() --ik npc:SetPrimaryPartCFrame(c)
I have another script which, once you press a button on the gui, it will move this to Workspace.CurrentCamera as I thought that was local only and that didn't work (This script is a local script btw).
I've also tried to spawn in the NPC locally which just became laggy.
Any help would be appreciated.
btw what this script is meant to do is, once you click a button on the playergui that will pop up once you have entered a certain area, The NPC will move to the location then it would move back. However, I only want the player that clicked the button to see the NPC move.