-
What do you want to achieve? Want a Pathfinding Model Not a humanoid that will move to different waypoints
-
What is the issue? Im making a habitat type game, When I run my dragon pet, It just stays there and doesnt go to the waypoints
-
What solutions have you tried so far? Tried looking into to all sorts of modules such as SimplePath, EzPathfinding, Loopath, etc…
-
Code?
local TweenService = game:GetService("TweenService")
local ServerStorage = game:GetService("ServerStorage")
local SimplePath = require(ServerStorage.SimplePath)
local Model = script.Parent
local Goal = script.Parent.Waypoints.Waypoint1
local Goal2 = script.Parent.Waypoints.Waypoint2
local Goal3 = script.Parent.Waypoints.Waypoint3
local Path = SimplePath.new(Model)
while wait(5) do
Path:Run(Goal)
wait(2)
Path:Run(Goal2)
wait(2)
Path:Run(Goal3)
end
Help is much appreciated. I need this ASAP!!!