Hello, I want to make my game to Big family.I am trying to change my MoveTo script to Pathfinding. But i dont know pathfinding. How can i do? Can i get this script to Pathfinding?Dont give me Wiki.
while true do wait(0.5) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.WalkToPoint = --What can i do for Targetting Players? end end
while true do wait(0.5) local target = findNearestTorso(script.Parent:GetChildren(Torso.Position) if target ~= nil then script.Parent.WalkToPoint = target end end)