--[[ Script Name : crawler_hatchling.lua Script Purpose : Waypoint Path for crawler_hatchling.lua Script Author : Devn00b Script Date : 05/10/2020 09:24:28 PM Script Notes : Locations collected from Live --]] function spawn(NPC) local Level = GetLevel(NPC) local level1 = 5 local level2 = 6 local difficulty1 = 6 local hp1 = 130 local power1 = 65 local difficulty2 = 6 local hp2 = 150 local power2 = 80 if Level == level1 then SpawnSet(NPC, "difficulty", difficulty1) SpawnSet(NPC, "hp", hp1) SpawnSet(NPC, "power", power1) elseif Level == level2 then SpawnSet(NPC, "difficulty", difficulty2) SpawnSet(NPC, "hp", hp2) SpawnSet(NPC, "power", power2) end waypoints(NPC) end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) end function respawn(NPC) spawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, 15.45, -0.11, -61.23, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 3.41, -0.08, -60.75, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 15.97, -0.04, -60.37, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 21.32, 0.43, -67.5, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 21.33, -0.35, -81.34, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 23.6, 0.07, -96.31, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 19.69, 0.35, -92.12, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.98, 0.17, -89.72, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 23.32, 0.17, -87.36, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.94, -0.26, -86.35, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 22.77, -0.37, -81.99, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.28, -0.74, -79.08, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 24.53, -0.82, -78.39, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 19.36, -0.59, -75.07, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 22.35, 0.58, -68.76, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 16.08, -0.07, -64.22, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 14.66, -0.02, -58.89, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 11.95, -0.05, -62.01, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 1.33, -0.02, -62.26, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -7.18, -0.05, -59.97, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -4.41, -0.05, -55.97, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -2.51, -0.06, -62.14, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 0.08, 0.04, -58.23, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 4.19, -0.06, -57.79, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 4.62, -0.08, -64.43, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 4.85, -0.09, -71.22, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 4.62, -0.08, -64.43, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 4.19, -0.06, -57.79, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 0.08, 0.04, -58.23, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -2.51, -0.06, -62.14, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -4.41, -0.05, -55.97, 1, math.random(0,2)) MovementLoopAddLocation(NPC, -7.18, -0.05, -59.97, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 1.33, -0.02, -62.26, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 11.95, -0.05, -62.01, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 14.66, -0.02, -58.89, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 16.08, -0.07, -64.22, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 22.35, 0.58, -68.76, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 19.36, -0.59, -75.07, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 24.53, -0.82, -78.39, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.28, -0.74, -79.08, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 22.77, -0.37, -81.99, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.94, -0.26, -86.35, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 23.32, 0.17, -87.36, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 18.98, 0.17, -89.72, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 19.69, 0.35, -92.12, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 23.6, 0.07, -96.31, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 21.33, -0.35, -81.34, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 21.32, 0.43, -67.5, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 15.97, -0.04, -60.37, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 3.41, -0.08, -60.75, 1, math.random(0,2)) MovementLoopAddLocation(NPC, 15.45, -0.11, -61.23, 1, math.random(0,2)) end