Hi, i want to make a tower defense game. So i added some zombies and added a pathfinding script into zombies. This script is using waypoints.
local zombie = script.Parent
local waypoints = workspace.Waypoints
for waypoint=1, #waypoints:GetChildren() do
zombie.Humanoid:MoveTo(waypoints[waypoint].Position)
zombie.Humanoid.MoveToFinished:Wait()
end
Unfortunately, script works on a not scaled zombie model but not works on a scaled mini zombie model. (They both have humanoids.)
Thanks.