i have been using the roblox dev wiki but their code doesn't work an example of what im working on is this from their page: https://developer.roblox.com/en-us/articles/Moving-NPCs-Between-Points Heres the script
local Piggy = game.Workspace.Piggy local Humanoid = Piggy.Humanoid local PointA = game.Workspace.PointA Humanoid:MoveTo(Piggy.PrimaryPart.Position)
I dont know how to fix this and im bad at scripting.

5 comments
Can you give more informations? Is it a script or a local script? Are you doing it on server or client? More infos please
You should try to learn to code before attempting recreating a large-scale game.
You can't call a method in a variable declaration.
CaioAlpaca its in a script
Feahren im trying to learn but most of the learning material from the roblox developer hub is soooo old!!!