--[[ Script Name : penley.lua Script Purpose : Waypoint Path for penley.lua Script Author : Devn00b Script Date : 04/11/2020 10:02:46 PM Script Notes : Locations collected from Live --]] dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua") dofile("SpawnScripts/Generic/ExpelNonCitizen.lua") function spawn(NPC) SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange") waypoints(NPC) end function InRange(NPC, Spawn) NonCitizen(NPC,Spawn) end function waypoints(NPC) MovementLoopAddLocation(NPC, 410.99, -19.16, -250.17, 2, 0) MovementLoopAddLocation(NPC, 412.43, -19.13, -251.71, 2, 0) MovementLoopAddLocation(NPC, 414.61, -19.24, -253.09, 2, 0) MovementLoopAddLocation(NPC, 416.9, -19.53, -253.02, 2, 0) MovementLoopAddLocation(NPC, 419.61, -19.97, -251.94, 2, 0) MovementLoopAddLocation(NPC, 421.34, -20.33, -250.21, 2, 0) MovementLoopAddLocation(NPC, 422.7, -20.89, -247.26, 2, 0) MovementLoopAddLocation(NPC, 423.54, -21.44, -244.08, 2, 0) MovementLoopAddLocation(NPC, 423.3, -21.64, -241.58, 2, 0) MovementLoopAddLocation(NPC, 421.96, -21.97, -238.46, 2, 0) MovementLoopAddLocation(NPC, 408.19, -22.94, -217.97, 2, 0) MovementLoopAddLocation(NPC, 387.65, -24.12, -199.87, 2, 0) MovementLoopAddLocation(NPC, 371.76, -25.05, -185.84, 2, 0) MovementLoopAddLocation(NPC, 361.26, -25.38, -177.62, 2, 0) MovementLoopAddLocation(NPC, 350.47, -25.04, -166.14, 2, 0) MovementLoopAddLocation(NPC, 338.74, -23.9, -145.22, 2, 0) MovementLoopAddLocation(NPC, 325.85, -23.63, -120.07, 2, 0) MovementLoopAddLocation(NPC, 314.08, -23.04, -97.84, 2, 0) MovementLoopAddLocation(NPC, 303.55, -21.29, -52.51, 2, 0) MovementLoopAddLocation(NPC, 310.95, -21.41, -36.03, 2, 0) MovementLoopAddLocation(NPC, 321.2, -21.43, -17.41, 2, 0) MovementLoopAddLocation(NPC, 316.53, -21.23, -10.71, 2, 0) MovementLoopAddLocation(NPC, 304.96, -21.13, 1.82, 2, 0) MovementLoopAddLocation(NPC, 316.53, -21.23, -10.71, 2, 0) MovementLoopAddLocation(NPC, 321.2, -21.43, -17.41, 2, 0) MovementLoopAddLocation(NPC, 310.95, -21.41, -36.03, 2, 0) MovementLoopAddLocation(NPC, 303.55, -21.29, -52.51, 2, 0) MovementLoopAddLocation(NPC, 314.08, -23.04, -97.84, 2, 0) MovementLoopAddLocation(NPC, 325.85, -23.63, -120.07, 2, 0) MovementLoopAddLocation(NPC, 338.74, -23.9, -145.22, 2, 0) MovementLoopAddLocation(NPC, 350.47, -25.04, -166.14, 2, 0) MovementLoopAddLocation(NPC, 361.26, -25.38, -177.62, 2, 0) MovementLoopAddLocation(NPC, 371.76, -25.05, -185.84, 2, 0) MovementLoopAddLocation(NPC, 387.65, -24.12, -199.87, 2, 0) MovementLoopAddLocation(NPC, 408.19, -22.94, -217.97, 2, 0) MovementLoopAddLocation(NPC, 421.96, -21.97, -238.46, 2, 0) MovementLoopAddLocation(NPC, 423.3, -21.64, -241.58, 2, 0) MovementLoopAddLocation(NPC, 423.54, -21.44, -244.08, 2, 0) MovementLoopAddLocation(NPC, 422.7, -20.89, -247.26, 2, 0) MovementLoopAddLocation(NPC, 421.34, -20.33, -250.21, 2, 0) MovementLoopAddLocation(NPC, 419.61, -19.97, -251.94, 2, 0) MovementLoopAddLocation(NPC, 416.9, -19.53, -253.02, 2, 0) MovementLoopAddLocation(NPC, 414.61, -19.24, -253.09, 2, 0) MovementLoopAddLocation(NPC, 412.43, -19.13, -251.71, 2, 0) MovementLoopAddLocation(NPC, 410.99, -19.16, -250.17, 2, 0) end