ashorecrab.lua 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/ashorecrab.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.07 03:09:03
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function waypoints(NPC)
  12. if GetSpawnLocationID(NPC) == 133774633 then
  13. MovementLoopAddLocation(NPC, 52.06, -9.82, -32.29, 1, math.random(16, 24))
  14. MovementLoopAddLocation(NPC, 56.35, -8.32, -29.22, 1, 0)
  15. MovementLoopAddLocation(NPC, 58.04, -8.03, -26.09, 1, 0)
  16. MovementLoopAddLocation(NPC, 63.76, -9.5, -22.48, 1, math.random(16, 24))
  17. MovementLoopAddLocation(NPC, 60.09, -8.49, -24.39, 1, 0)
  18. MovementLoopAddLocation(NPC, 59.42, -7.22, -26.43, 1, 0)
  19. MovementLoopAddLocation(NPC, 57.49, -7.32, -30.59, 1, 0)
  20. MovementLoopAddLocation(NPC, 57.07, -9.35, -34.3, 1, 0)
  21. MovementLoopAddLocation(NPC, 50.83, -11.25, -33.72, 1, math.random(16, 24))
  22. MovementLoopAddLocation(NPC, 56.93, -9.89, -36.07, 1, 0)
  23. MovementLoopAddLocation(NPC, 60.49, -9.21, -35.82, 1, 0)
  24. MovementLoopAddLocation(NPC, 72.09, -10.07, -25.62, 1, math.random(16, 24))
  25. MovementLoopAddLocation(NPC, 62.53, -9.11, -36.35, 1, 0)
  26. MovementLoopAddLocation(NPC, 60.12, -8.82, -35.29, 1, 0)
  27. MovementLoopAddLocation(NPC, 51.51, -11.26, -29.17, 1, math.random(16, 24))
  28. MovementLoopAddLocation(NPC, 52.39, -10.47, -32.68, 1, 0)
  29. MovementLoopAddLocation(NPC, 49.67, -11.99, -32.15, 1, math.random(16, 24))
  30. MovementLoopAddLocation(NPC, 53.88, -9.85, -30.9, 1, 0)
  31. MovementLoopAddLocation(NPC, 55.79, -8.68, -30.59, 1, 0)
  32. MovementLoopAddLocation(NPC, 57.66, -7.39, -29.32, 1, 0)
  33. MovementLoopAddLocation(NPC, 61.95, -7.47, -25.5, 1, 0)
  34. MovementLoopAddLocation(NPC, 63.31, -9.15, -22.99, 1, math.random(16, 24))
  35. MovementLoopAddLocation(NPC, 62.26, -7.46, -25.71, 1, 0)
  36. MovementLoopAddLocation(NPC, 59.85, -6.94, -27.77, 1, 0)
  37. MovementLoopAddLocation(NPC, 53.19, -10.02, -30.18, 1, math.random(16, 24))
  38. elseif GetSpawnLocationID(NPC) == 133774634 then
  39. MovementLoopAddLocation(NPC, 72.64, -10.03, -27.01, 1, math.random(16, 24))
  40. MovementLoopAddLocation(NPC, 66.29, -8.45, -25.29, 1, 0)
  41. MovementLoopAddLocation(NPC, 62.97, -9.04, -23.18, 1, 0)
  42. MovementLoopAddLocation(NPC, 62.97, -9.55, -22.55, 1, math.random(16, 24))
  43. MovementLoopAddLocation(NPC, 63.69, -9.14, -22.95, 1, 0)
  44. MovementLoopAddLocation(NPC, 64.96, -9.29, -22.49, 1, 0)
  45. MovementLoopAddLocation(NPC, 66.86, -9.95, -22.64, 1, 0)
  46. MovementLoopAddLocation(NPC, 72.48, -9.92, -28.01, 1, math.random(16, 24))
  47. MovementLoopAddLocation(NPC, 64.87, -8.79, -23.5, 1, 0)
  48. MovementLoopAddLocation(NPC, 59.78, -7.25, -26.08, 1, 0)
  49. MovementLoopAddLocation(NPC, 57.77, -7.44, -28.09, 1, 0)
  50. MovementLoopAddLocation(NPC, 53.61, -9.83, -31.14, 1, 0)
  51. MovementLoopAddLocation(NPC, 51.23, -11.06, -31.74, 1, math.random(16, 24))
  52. MovementLoopAddLocation(NPC, 52.22, -10.78, -29.1, 1, math.random(16, 24))
  53. MovementLoopAddLocation(NPC, 52.18, -10.55, -32.19, 1, 0)
  54. MovementLoopAddLocation(NPC, 50.38, -11.9, -34.38, 1, math.random(16, 24))
  55. MovementLoopAddLocation(NPC, 53.4, -10.06, -31.5, 1, 0)
  56. MovementLoopAddLocation(NPC, 55.22, -9.17, -30.77, 1, 0)
  57. MovementLoopAddLocation(NPC, 58.19, -7.32, -27.54, 1, 0)
  58. MovementLoopAddLocation(NPC, 59.66, -8.49, -24.71, 1, 0)
  59. MovementLoopAddLocation(NPC, 60.87, -8.24, -24.05, 1, 0)
  60. MovementLoopAddLocation(NPC, 63.71, -9.66, -22.3, 1, math.random(16, 24))
  61. MovementLoopAddLocation(NPC, 58.36, -8.46, -25.52, 1, 0)
  62. MovementLoopAddLocation(NPC, 52.79, -10.29, -31.32, 1, math.random(16, 24))
  63. MovementLoopAddLocation(NPC, 62.61, -7.66, -25.01, 1, math.random(16, 24))
  64. MovementLoopAddLocation(NPC, 67.95, -7.74, -27.88, 1, 0)
  65. MovementLoopAddLocation(NPC, 70.41, -8.73, -28.5, 1, 0)
  66. MovementLoopAddLocation(NPC, 72.32, -9.9, -26.8, 1, math.random(16, 24))
  67. MovementLoopAddLocation(NPC, 65.5, -9.25, -23.04, 1, 0)
  68. MovementLoopAddLocation(NPC, 61.89, -9.55, -22.74, 1, math.random(16, 24))
  69. MovementLoopAddLocation(NPC, 66.64, -9.49, -23.53, 1, 0)
  70. elseif GetSpawnLocationID(NPC) == 133774635 then
  71. MovementLoopAddLocation(NPC, 71.52, -10, -34.04, 1, math.random(16, 24))
  72. MovementLoopAddLocation(NPC, 65.98, -8.25, -25.43, 1, 0)
  73. MovementLoopAddLocation(NPC, 60.83, -8.24, -24.08, 1, 0)
  74. MovementLoopAddLocation(NPC, 53.1, -13.64, -24.16, 1, math.random(16, 24))
  75. MovementLoopAddLocation(NPC, 52.29, -10.36, -29.74, 1, 0)
  76. MovementLoopAddLocation(NPC, 56.08, -8.51, -31.35, 1, 0)
  77. MovementLoopAddLocation(NPC, 70.17, -9.08, -32.05, 1, 0)
  78. MovementLoopAddLocation(NPC, 72.3, -9.97, -31.58, 1, math.random(16, 24))
  79. MovementLoopAddLocation(NPC, 67.42, -8.23, -33.69, 1, 0)
  80. MovementLoopAddLocation(NPC, 62.54, -7.03, -33.33, 1, 0)
  81. MovementLoopAddLocation(NPC, 59.45, -8.28, -34.52, 1, 0)
  82. MovementLoopAddLocation(NPC, 56.25, -10.6, -36.68, 1, math.random(16, 24))
  83. MovementLoopAddLocation(NPC, 56.92, -7.92, -32.55, 1, 0)
  84. MovementLoopAddLocation(NPC, 57.54, -8.99, -25.79, 1, math.random(16, 24))
  85. MovementLoopAddLocation(NPC, 63.65, -6.38, -28.04, 1, 0)
  86. MovementLoopAddLocation(NPC, 69.15, -8.57, -32.42, 1, 0)
  87. MovementLoopAddLocation(NPC, 72.41, -10.24, -32.64, 1, math.random(16, 24))
  88. MovementLoopAddLocation(NPC, 65.47, -7.89, -25.75, 1, 0)
  89. MovementLoopAddLocation(NPC, 58.06, -8.19, -25.96, 1, 0)
  90. MovementLoopAddLocation(NPC, 56.54, -8.69, -27, 1, 0)
  91. MovementLoopAddLocation(NPC, 56.6, -9.05, -26.65, 1, math.random(16, 24))
  92. MovementLoopAddLocation(NPC, 72.41, -10.24, -35.16, 1, math.random(16, 24))
  93. MovementLoopAddLocation(NPC, 70.45, -9.02, -26.99, 1, 0)
  94. MovementLoopAddLocation(NPC, 59.72, -7.17, -26.49, 1, 0)
  95. MovementLoopAddLocation(NPC, 58.83, -8.5, -25.18, 1, math.random(16, 24))
  96. MovementLoopAddLocation(NPC, 55.04, -10.3, -35.17, 1, math.random(16, 24))
  97. MovementLoopAddLocation(NPC, 60.31, -7.41, -33.77, 1, 0)
  98. MovementLoopAddLocation(NPC, 67.59, -7.85, -32.5, 1, 0)
  99. MovementLoopAddLocation(NPC, 70.14, -9.07, -32.46, 1, 0)
  100. elseif GetSpawnLocationID(NPC) == 133774636 then
  101. MovementLoopAddLocation(NPC, 56.1, -9.35, -26.91, 1, math.random(16, 24))
  102. MovementLoopAddLocation(NPC, 67.14, -7.69, -31.22, 1, 0)
  103. MovementLoopAddLocation(NPC, 70.05, -9.02, -32.66, 1, 0)
  104. MovementLoopAddLocation(NPC, 71.2, -9.91, -34.38, 1, math.random(16, 24))
  105. MovementLoopAddLocation(NPC, 55.88, -9.99, -34.79, 1, 0)
  106. MovementLoopAddLocation(NPC, 54.57, -10.29, -34.96, 1, math.random(16, 24))
  107. MovementLoopAddLocation(NPC, 55.67, -9.89, -34.45, 1, 0)
  108. MovementLoopAddLocation(NPC, 55.95, -10.25, -35.86, 1, math.random(16, 24))
  109. MovementLoopAddLocation(NPC, 55.96, -9.53, -33.8, 1, 0)
  110. MovementLoopAddLocation(NPC, 56.23, -8.36, -31.12, 1, 0)
  111. MovementLoopAddLocation(NPC, 59.31, -8.79, -24.66, 1, math.random(16, 24))
  112. MovementLoopAddLocation(NPC, 53.27, -11.34, -27.07, 1, math.random(16, 24))
  113. MovementLoopAddLocation(NPC, 54.06, -10.15, -27.91, 1, 0)
  114. MovementLoopAddLocation(NPC, 55.2, -9.17, -30.55, 1, 0)
  115. MovementLoopAddLocation(NPC, 54.23, -10.43, -35.68, 1, math.random(16, 24))
  116. MovementLoopAddLocation(NPC, 56.34, -9.64, -34.27, 1, 0)
  117. elseif GetSpawnLocationID(NPC) == 133774637 then
  118. MovementLoopAddLocation(NPC, 72.97, -10.66, -33.49, 1, math.random(16, 24))
  119. MovementLoopAddLocation(NPC, 71.47, -9.63, -31.65, 1, 0)
  120. MovementLoopAddLocation(NPC, 64.08, -6.81, -26.63, 1, 0)
  121. MovementLoopAddLocation(NPC, 59.96, -6.93, -27.85, 1, 0)
  122. MovementLoopAddLocation(NPC, 56.5, -9.98, -35.11, 1, math.random(16, 24))
  123. MovementLoopAddLocation(NPC, 54.39, -9.66, -31.84, 1, 0)
  124. MovementLoopAddLocation(NPC, 55.98, -8.56, -28.62, 1, 0)
  125. MovementLoopAddLocation(NPC, 56.65, -9.03, -26.62, 1, math.random(16, 24))
  126. MovementLoopAddLocation(NPC, 57.13, -8.59, -26.49, 1, 0)
  127. MovementLoopAddLocation(NPC, 57.75, -7.25, -32.26, 1, 0)
  128. MovementLoopAddLocation(NPC, 57.32, -10.24, -37.51, 1, math.random(16, 24))
  129. MovementLoopAddLocation(NPC, 57.63, -8.75, -34.03, 1, 0)
  130. MovementLoopAddLocation(NPC, 56, -8.56, -29, 1, 0)
  131. MovementLoopAddLocation(NPC, 57.58, -8.77, -25.92, 1, math.random(16, 24))
  132. MovementLoopAddLocation(NPC, 55.52, -8.98, -27.95, 1, 0)
  133. MovementLoopAddLocation(NPC, 55.42, -9.11, -31.95, 1, 0)
  134. MovementLoopAddLocation(NPC, 55.5, -10.24, -35.99, 1, math.random(16, 24))
  135. MovementLoopAddLocation(NPC, 59.43, -8.93, -35.15, 1, 0)
  136. MovementLoopAddLocation(NPC, 61.48, -8.3, -35.55, 1, 0)
  137. MovementLoopAddLocation(NPC, 71.33, -9.68, -32.62, 1, math.random(16, 24))
  138. MovementLoopAddLocation(NPC, 65.39, -9.14, -35.85, 1, 0)
  139. MovementLoopAddLocation(NPC, 56.33, -9.85, -34.71, 1, math.random(16, 24))
  140. MovementLoopAddLocation(NPC, 51.51, -11.01, -34.28, 1, math.random(16, 24))
  141. MovementLoopAddLocation(NPC, 53.51, -10.02, -33.05, 1, 0)
  142. MovementLoopAddLocation(NPC, 55.52, -8.9, -30.24, 1, 0)
  143. MovementLoopAddLocation(NPC, 60.11, -8.93, -23.96, 1, 0)
  144. MovementLoopAddLocation(NPC, 60.15, -9.92, -22.96, 1, math.random(16, 24))
  145. MovementLoopAddLocation(NPC, 62.24, -7.74, -24.48, 1, 0)
  146. elseif GetSpawnLocationID(NPC) == 133774638 then
  147. MovementLoopAddLocation(NPC, 71.39, -9.75, -33.08, 1, math.random(16, 24))
  148. MovementLoopAddLocation(NPC, 68.04, -9.52, -23.92, 1, 0)
  149. MovementLoopAddLocation(NPC, 60.1, -7.29, -25.87, 1, 0)
  150. MovementLoopAddLocation(NPC, 52.22, -13.25, -25.77, 1, math.random(16, 24))
  151. MovementLoopAddLocation(NPC, 53.17, -10.98, -27.56, 1, 0)
  152. MovementLoopAddLocation(NPC, 54.05, -9.85, -33.67, 1, 0)
  153. MovementLoopAddLocation(NPC, 55.51, -10.55, -35.96, 1, 0)
  154. MovementLoopAddLocation(NPC, 55.11, -11.28, -37.91, 1, math.random(16, 24))
  155. MovementLoopAddLocation(NPC, 52.18, -12.33, -38.05, 1, math.random(16, 24))
  156. MovementLoopAddLocation(NPC, 52.95, -11.25, -35.98, 1, 0)
  157. MovementLoopAddLocation(NPC, 54.12, -10.25, -34.29, 1, 0)
  158. MovementLoopAddLocation(NPC, 54.65, -9.52, -30.42, 1, 0)
  159. MovementLoopAddLocation(NPC, 52.86, -11.06, -27.65, 1, math.random(16, 24))
  160. MovementLoopAddLocation(NPC, 54.38, -10.18, -27.63, 1, 0)
  161. MovementLoopAddLocation(NPC, 56.1, -9.79, -26.66, 1, math.random(16, 24))
  162. MovementLoopAddLocation(NPC, 55.05, -9.4, -32.67, 1, 0)
  163. MovementLoopAddLocation(NPC, 54.05, -10.4, -34.68, 1, math.random(16, 24))
  164. MovementLoopAddLocation(NPC, 54.88, -9.46, -31.38, 1, 0)
  165. MovementLoopAddLocation(NPC, 56.06, -8.54, -29.43, 1, 0)
  166. MovementLoopAddLocation(NPC, 56.86, -8.79, -26.6, 1, math.random(16, 24))
  167. MovementLoopAddLocation(NPC, 59.21, -6.92, -28.68, 1, 0)
  168. MovementLoopAddLocation(NPC, 63.25, -6.56, -32.3, 1, 0)
  169. MovementLoopAddLocation(NPC, 68.27, -8.13, -32.83, 1, 0)
  170. MovementLoopAddLocation(NPC, 71.28, -9.84, -33.82, 1, math.random(16, 24))
  171. MovementLoopAddLocation(NPC, 56.36, -10.09, -34.78, 1, math.random(16, 24))
  172. MovementLoopAddLocation(NPC, 58.62, -7.37, -33.09, 1, 0)
  173. elseif GetSpawnLocationID(NPC) == 133774639 then
  174. MovementLoopAddLocation(NPC, 56.26, -9.97, -34.94, 1, math.random(16, 24))
  175. MovementLoopAddLocation(NPC, 70.41, -9.22, -33.33, 1, 0)
  176. MovementLoopAddLocation(NPC, 71.69, -10.09, -34.01, 1, math.random(16, 24))
  177. MovementLoopAddLocation(NPC, 58.19, -8.97, -25.28, 1, math.random(16, 24))
  178. MovementLoopAddLocation(NPC, 54.68, -9.78, -33.88, 1, 0)
  179. MovementLoopAddLocation(NPC, 53.15, -10.98, -35.36, 1, math.random(16, 24))
  180. MovementLoopAddLocation(NPC, 55.62, -9.81, -34.26, 1, 0)
  181. MovementLoopAddLocation(NPC, 62, -6.39, -32.15, 1, 0)
  182. MovementLoopAddLocation(NPC, 65.01, -7.03, -31.52, 1, 0)
  183. MovementLoopAddLocation(NPC, 71.88, -10.32, -34.64, 1, math.random(16, 24))
  184. MovementLoopAddLocation(NPC, 58.44, -7.23, -32.84, 1, 0)
  185. MovementLoopAddLocation(NPC, 52.62, -11.65, -36.71, 1, math.random(16, 24))
  186. MovementLoopAddLocation(NPC, 52.66, -10.67, -34.2, 1, math.random(16, 24))
  187. MovementLoopAddLocation(NPC, 54.23, -9.93, -33.86, 1, 0)
  188. MovementLoopAddLocation(NPC, 56.31, -9.57, -34.08, 1, math.random(16, 24))
  189. MovementLoopAddLocation(NPC, 51.49, -11.3, -34.68, 1, math.random(16, 24))
  190. elseif GetSpawnLocationID(NPC) == 133774640 then
  191. MovementLoopAddLocation(NPC, 67.57, -10.78, -21.33, 1, math.random(16, 24))
  192. MovementLoopAddLocation(NPC, 66.87, -9.52, -23.66, 1, 0)
  193. MovementLoopAddLocation(NPC, 68.72, -9.77, -35.94, 1, math.random(16, 24))
  194. MovementLoopAddLocation(NPC, 63.61, -8.31, -35.52, 1, 0)
  195. MovementLoopAddLocation(NPC, 60.88, -9.27, -36.06, 1, math.random(16, 24))
  196. MovementLoopAddLocation(NPC, 69.19, -9.89, -23.74, 1, math.random(16, 24))
  197. MovementLoopAddLocation(NPC, 58.18, -7.34, -27.19, 1, 0)
  198. MovementLoopAddLocation(NPC, 55.7, -8.95, -32.72, 1, 0)
  199. MovementLoopAddLocation(NPC, 56.01, -9.83, -34.97, 1, 0)
  200. MovementLoopAddLocation(NPC, 59.44, -9.8, -35.87, 1, math.random(16, 24))
  201. MovementLoopAddLocation(NPC, 66.66, -10.47, -39.71, 1, math.random(16, 24))
  202. MovementLoopAddLocation(NPC, 68.87, -8.43, -32.28, 1, 0)
  203. MovementLoopAddLocation(NPC, 69.54, -8.59, -27.13, 1, 0)
  204. MovementLoopAddLocation(NPC, 68.51, -9.35, -24.46, 1, math.random(16, 24))
  205. MovementLoopAddLocation(NPC, 67.46, -10.25, -22.41, 1, math.random(16, 24))
  206. MovementLoopAddLocation(NPC, 67.44, -8.46, -25.88, 1, math.random(16, 24))
  207. MovementLoopAddLocation(NPC, 61.24, -9.6, -36.34, 1, math.random(16, 24))
  208. elseif GetSpawnLocationID(NPC) == 133774641 then
  209. MovementLoopAddLocation(NPC, 69.4, -10.04, -36.54, 1, math.random(16, 24))
  210. MovementLoopAddLocation(NPC, 66.91, -10.49, -39.77, 1, 0)
  211. MovementLoopAddLocation(NPC, 64.32, -10.65, -40.01, 1, math.random(16, 24))
  212. MovementLoopAddLocation(NPC, 58.38, -10.2, -35.77, 1, 0)
  213. MovementLoopAddLocation(NPC, 59.47, -6.79, -32.05, 1, 0)
  214. MovementLoopAddLocation(NPC, 63.32, -7.59, -25.2, 1, 0)
  215. MovementLoopAddLocation(NPC, 67.85, -9.91, -23.11, 1, math.random(16, 24))
  216. MovementLoopAddLocation(NPC, 67.45, -9.55, -36.74, 1, math.random(16, 24))
  217. MovementLoopAddLocation(NPC, 71.08, -9.12, -28.06, 1, 0)
  218. MovementLoopAddLocation(NPC, 69.22, -10.22, -23.05, 1, math.random(16, 24))
  219. MovementLoopAddLocation(NPC, 62.63, -10.37, -37.71, 1, math.random(16, 24))
  220. elseif GetSpawnLocationID(NPC) == 133774642 then
  221. MovementLoopAddLocation(NPC, 67.49, -10.4, -22.15, 1, math.random(16, 24))
  222. MovementLoopAddLocation(NPC, 71.59, -9.38, -28.22, 1, 0)
  223. MovementLoopAddLocation(NPC, 68.72, -9.98, -36.42, 1, math.random(16, 24))
  224. MovementLoopAddLocation(NPC, 61.8, -10.56, -38.4, 1, math.random(16, 24))
  225. MovementLoopAddLocation(NPC, 62.91, -6.94, -33.11, 1, 0)
  226. MovementLoopAddLocation(NPC, 65.55, -6.9, -27.73, 1, 0)
  227. MovementLoopAddLocation(NPC, 65.98, -8.99, -23.93, 1, 0)
  228. MovementLoopAddLocation(NPC, 68.85, -10.64, -22.08, 1, math.random(16, 24))
  229. MovementLoopAddLocation(NPC, 65.97, -9.15, -23.6, 1, 0)
  230. MovementLoopAddLocation(NPC, 57.74, -10.03, -35.79, 1, 0)
  231. MovementLoopAddLocation(NPC, 62.13, -10.72, -39.42, 1, 0)
  232. MovementLoopAddLocation(NPC, 64.04, -10.53, -39.24, 1, 0)
  233. MovementLoopAddLocation(NPC, 65.89, -10.49, -39.75, 1, math.random(16, 24))
  234. MovementLoopAddLocation(NPC, 61.56, -10.48, -37.88, 1, math.random(16, 24))
  235. MovementLoopAddLocation(NPC, 67.3, -9.41, -35.9, 1, math.random(16, 24))
  236. MovementLoopAddLocation(NPC, 66.98, -7.67, -32.27, 1, 0)
  237. elseif GetSpawnLocationID(NPC) == 133774643 then
  238. MovementLoopAddLocation(NPC, 61.17, -10.61, -37.96, 1, math.random(16, 24))
  239. MovementLoopAddLocation(NPC, 64.97, -8.5, -35.06, 1, 0)
  240. MovementLoopAddLocation(NPC, 68.58, -8.1, -30.27, 1, 0)
  241. MovementLoopAddLocation(NPC, 67.12, -10.35, -21.95, 1, math.random(16, 24))
  242. MovementLoopAddLocation(NPC, 66.1, -9.31, -23.38, 1, 0)
  243. MovementLoopAddLocation(NPC, 55.55, -8.87, -28.55, 1, 0)
  244. MovementLoopAddLocation(NPC, 53.92, -9.76, -31.86, 1, 0)
  245. MovementLoopAddLocation(NPC, 55.75, -10.82, -36.81, 1, 0)
  246. MovementLoopAddLocation(NPC, 67.12, -10.35, -41.01, 1, math.random(16, 24))
  247. MovementLoopAddLocation(NPC, 66.59, -9.94, -36.24, 1, math.random(16, 24))
  248. MovementLoopAddLocation(NPC, 65.47, -6.74, -28.3, 1, 0)
  249. MovementLoopAddLocation(NPC, 66.08, -8.85, -24.29, 1, 0)
  250. MovementLoopAddLocation(NPC, 68.8, -10.02, -23.33, 1, math.random(16, 24))
  251. MovementLoopAddLocation(NPC, 67.33, -10.39, -22.03, 1, math.random(16, 24))
  252. MovementLoopAddLocation(NPC, 60.31, -7.35, -25.66, 1, 0)
  253. MovementLoopAddLocation(NPC, 59.21, -10.02, -35.94, 1, math.random(16, 24))
  254. MovementLoopAddLocation(NPC, 62.92, -7.74, -34.62, 1, 0)
  255. MovementLoopAddLocation(NPC, 66.49, -8.93, -35.75, 1, 0)
  256. MovementLoopAddLocation(NPC, 67.5, -10.03, -37.89, 1, math.random(16, 24))
  257. MovementLoopAddLocation(NPC, 68.33, -9.36, -35.27, 1, math.random(16, 24))
  258. MovementLoopAddLocation(NPC, 65.66, -9.06, -35.81, 1, 0)
  259. elseif GetSpawnLocationID(NPC) == 133774644 then
  260. MovementLoopAddLocation(NPC, 68.56, -9.95, -36.39, 1, math.random(16, 24))
  261. MovementLoopAddLocation(NPC, 70.27, -9.52, -25.07, 1, 0)
  262. MovementLoopAddLocation(NPC, 67.9, -9.43, -24.04, 1, 0)
  263. MovementLoopAddLocation(NPC, 67.98, -10.37, -21.9, 1, math.random(16, 24))
  264. MovementLoopAddLocation(NPC, 68.89, -9.63, -24.09, 1, math.random(16, 24))
  265. MovementLoopAddLocation(NPC, 62.28, -6.06, -30.1, 1, 0)
  266. MovementLoopAddLocation(NPC, 63.19, -7.91, -34.92, 1, 0)
  267. MovementLoopAddLocation(NPC, 62.54, -10.41, -37.91, 1, math.random(16, 24))
  268. MovementLoopAddLocation(NPC, 63.44, -7.96, -34.99, 1, 0)
  269. MovementLoopAddLocation(NPC, 66.86, -7.6, -31.53, 1, 0)
  270. MovementLoopAddLocation(NPC, 66.9, -8.48, -25.47, 1, 0)
  271. MovementLoopAddLocation(NPC, 70.38, -10.01, -23.72, 1, math.random(16, 24))
  272. MovementLoopAddLocation(NPC, 59.25, -7.01, -27.75, 1, 0)
  273. MovementLoopAddLocation(NPC, 57.07, -7.74, -32.03, 1, 0)
  274. MovementLoopAddLocation(NPC, 57.43, -10.02, -36.03, 1, 0)
  275. MovementLoopAddLocation(NPC, 62.17, -10.49, -38.19, 1, math.random(16, 24))
  276. MovementLoopAddLocation(NPC, 65.35, -8.33, -34.68, 1, math.random(16, 24))
  277. MovementLoopAddLocation(NPC, 67.32, -9.49, -36.02, 1, 0)
  278. MovementLoopAddLocation(NPC, 69.83, -10.34, -37.3, 1, math.random(16, 24))
  279. MovementLoopAddLocation(NPC, 66.06, -7.98, -33.75, 1, 0)
  280. MovementLoopAddLocation(NPC, 68.52, -10.52, -22.27, 1, math.random(16, 24))
  281. MovementLoopAddLocation(NPC, 63.46, -10.62, -39.42, 1, math.random(16, 24))
  282. MovementLoopAddLocation(NPC, 65.17, -10.54, -39.75, 1, 0)
  283. elseif GetSpawnLocationID(NPC) == 133774645 then
  284. MovementLoopAddLocation(NPC, 20.15, -10.15, -66.6, 1, math.random(16, 24))
  285. MovementLoopAddLocation(NPC, 24.07, -9.79, -74.32, 1, math.random(16, 24))
  286. MovementLoopAddLocation(NPC, 35.9, -10.94, -55.75, 1, math.random(16, 24))
  287. MovementLoopAddLocation(NPC, 34.6, -9.27, -58.01, 1, 0)
  288. MovementLoopAddLocation(NPC, 23.75, -10.48, -76.41, 1, math.random(16, 24))
  289. MovementLoopAddLocation(NPC, 23.43, -8.18, -69.62, 1, 0)
  290. MovementLoopAddLocation(NPC, 23.76, -8.16, -67.91, 1, 0)
  291. MovementLoopAddLocation(NPC, 23.28, -9.78, -65.21, 1, 0)
  292. MovementLoopAddLocation(NPC, 29.4, -9.71, -59.89, 1, math.random(16, 24))
  293. MovementLoopAddLocation(NPC, 28.57, -7.15, -66.4, 1, 0)
  294. MovementLoopAddLocation(NPC, 35.37, -9.07, -66.54, 1, math.random(16, 24))
  295. MovementLoopAddLocation(NPC, 23.72, -8.15, -68.31, 1, math.random(16, 24))
  296. MovementLoopAddLocation(NPC, 38.9, -10.63, -67.43, 1, math.random(16, 24))
  297. MovementLoopAddLocation(NPC, 35.26, -9.02, -66.32, 1, 0)
  298. MovementLoopAddLocation(NPC, 29.1, -9.83, -59.76, 1, math.random(16, 24))
  299. MovementLoopAddLocation(NPC, 29.58, -9.24, -61.25, 1, 0)
  300. MovementLoopAddLocation(NPC, 25.81, -8.49, -65.96, 1, 0)
  301. MovementLoopAddLocation(NPC, 23.5, -8.92, -66.69, 1, 0)
  302. elseif GetSpawnLocationID(NPC) == 133774646 then
  303. MovementLoopAddLocation(NPC, 23.92, -9.7, -74.15, 1, math.random(16, 24))
  304. MovementLoopAddLocation(NPC, 21.84, -9.2, -68.95, 1, 0)
  305. MovementLoopAddLocation(NPC, 20.7, -9.55, -68.89, 1, math.random(16, 24))
  306. MovementLoopAddLocation(NPC, 22.72, -9.18, -66.83, 1, 0)
  307. MovementLoopAddLocation(NPC, 24.35, -8.72, -66.48, 1, 0)
  308. MovementLoopAddLocation(NPC, 30.16, -9.23, -60.61, 1, math.random(16, 24))
  309. MovementLoopAddLocation(NPC, 27.09, -10.56, -56.32, 1, math.random(16, 24))
  310. MovementLoopAddLocation(NPC, 28.99, -9.39, -61.48, 1, 0)
  311. MovementLoopAddLocation(NPC, 27.17, -8.54, -63.95, 1, 0)
  312. MovementLoopAddLocation(NPC, 16.35, -10.78, -68.7, 1, math.random(16, 24))
  313. MovementLoopAddLocation(NPC, 23.01, -8.38, -68.01, 1, 0)
  314. MovementLoopAddLocation(NPC, 27.74, -9.26, -62.45, 1, 0)
  315. MovementLoopAddLocation(NPC, 30.05, -9.2, -60.83, 1, math.random(16, 24))
  316. MovementLoopAddLocation(NPC, 29.49, -9.18, -73.31, 1, math.random(16, 24))
  317. MovementLoopAddLocation(NPC, 33, -9.16, -70.21, 1, 0)
  318. MovementLoopAddLocation(NPC, 35.35, -10.02, -56.89, 1, math.random(16, 24))
  319. MovementLoopAddLocation(NPC, 36.88, -9.64, -62.35, 1, 0)
  320. MovementLoopAddLocation(NPC, 36.35, -9.31, -64.24, 1, 0)
  321. MovementLoopAddLocation(NPC, 36.78, -9.64, -66.5, 1, math.random(16, 24))
  322. MovementLoopAddLocation(NPC, 34.36, -8.69, -65.96, 1, 0)
  323. MovementLoopAddLocation(NPC, 31.92, -7.95, -67.17, 1, 0)
  324. elseif GetSpawnLocationID(NPC) == 133774647 then
  325. MovementLoopAddLocation(NPC, 35.73, -10.34, -56.81, 1, math.random(16, 24))
  326. MovementLoopAddLocation(NPC, 24.74, -8.66, -66.43, 1, 0)
  327. MovementLoopAddLocation(NPC, 21.22, -9.57, -67.15, 1, math.random(16, 24))
  328. MovementLoopAddLocation(NPC, 39.12, -10.68, -67.13, 1, math.random(16, 24))
  329. MovementLoopAddLocation(NPC, 36.11, -9.23, -63.98, 1, 0)
  330. MovementLoopAddLocation(NPC, 35.31, -10.16, -56.64, 1, math.random(16, 24))
  331. MovementLoopAddLocation(NPC, 24.16, -9.13, -73.39, 1, math.random(16, 24))
  332. MovementLoopAddLocation(NPC, 20.92, -9.17, -71.91, 1, 0)
  333. MovementLoopAddLocation(NPC, 21.79, -9.08, -69.68, 1, 0)
  334. MovementLoopAddLocation(NPC, 19.98, -10.19, -66.78, 1, math.random(16, 24))
  335. MovementLoopAddLocation(NPC, 23.06, -8.72, -67.24, 1, 0)
  336. MovementLoopAddLocation(NPC, 36.86, -9.77, -66.84, 1, math.random(16, 24))
  337. MovementLoopAddLocation(NPC, 34.96, -8.34, -64.1, 1, 0)
  338. MovementLoopAddLocation(NPC, 34.9, -8.23, -61.62, 1, 0)
  339. MovementLoopAddLocation(NPC, 35.8, -8.98, -59.55, 1, 0)
  340. elseif GetSpawnLocationID(NPC) == 133774648 then
  341. MovementLoopAddLocation(NPC, 28.75, -9.92, -59.59, 1, math.random(16, 24))
  342. MovementLoopAddLocation(NPC, 32.84, -7.37, -62.83, 1, 0)
  343. MovementLoopAddLocation(NPC, 35.09, -9.02, -66.85, 1, 0)
  344. MovementLoopAddLocation(NPC, 38.7, -10.59, -67.75, 1, math.random(16, 24))
  345. MovementLoopAddLocation(NPC, 32.03, -8.64, -68.35, 1, 0)
  346. MovementLoopAddLocation(NPC, 30.57, -8.83, -71.53, 1, math.random(16, 24))
  347. MovementLoopAddLocation(NPC, 31.98, -8.53, -68.2, 1, 0)
  348. MovementLoopAddLocation(NPC, 34.19, -8.64, -66.04, 1, 0)
  349. MovementLoopAddLocation(NPC, 35.51, -10.11, -56.88, 1, math.random(16, 24))
  350. MovementLoopAddLocation(NPC, 21, -9.48, -68.56, 1, math.random(16, 24))
  351. MovementLoopAddLocation(NPC, 26.17, -8.41, -65.72, 1, 0)
  352. MovementLoopAddLocation(NPC, 34.51, -9.11, -58.79, 1, math.random(16, 24))
  353. MovementLoopAddLocation(NPC, 26.68, -8.73, -64.01, 1, 0)
  354. MovementLoopAddLocation(NPC, 25.42, -8.74, -65.67, 1, 0)
  355. MovementLoopAddLocation(NPC, 23.82, -8.72, -66.76, 1, 0)
  356. MovementLoopAddLocation(NPC, 20.97, -9.71, -67.05, 1, math.random(16, 24))
  357. MovementLoopAddLocation(NPC, 23.53, -8.94, -66.65, 1, 0)
  358. MovementLoopAddLocation(NPC, 25.03, -9.14, -65.14, 1, 0)
  359. MovementLoopAddLocation(NPC, 27.32, -10.06, -58.68, 1, math.random(16, 24))
  360. MovementLoopAddLocation(NPC, 26.95, -8.87, -63.63, 1, 0)
  361. MovementLoopAddLocation(NPC, 25.55, -9.03, -64.78, 1, 0)
  362. MovementLoopAddLocation(NPC, 20.35, -10.07, -67, 1, math.random(16, 24))
  363. MovementLoopAddLocation(NPC, 20.89, -9.22, -70.55, 1, 0)
  364. MovementLoopAddLocation(NPC, 23.96, -9.78, -74.27, 1, math.random(16, 24))
  365. MovementLoopAddLocation(NPC, 22.64, -8.94, -72.43, 1, 0)
  366. MovementLoopAddLocation(NPC, 22.42, -8.73, -68.15, 1, math.random(16, 24))
  367. MovementLoopAddLocation(NPC, 23.49, -9.14, -73.13, 1, math.random(16, 24))
  368. elseif GetSpawnLocationID(NPC) == 133774649 then
  369. MovementLoopAddLocation(NPC, 29.86, -10.4, -74.64, 1, math.random(16, 24))
  370. MovementLoopAddLocation(NPC, 19.82, -10.22, -66.53, 1, math.random(16, 24))
  371. MovementLoopAddLocation(NPC, 23.01, -9.04, -66.84, 1, 0)
  372. MovementLoopAddLocation(NPC, 35.53, -10.14, -56.85, 1, math.random(16, 24))
  373. MovementLoopAddLocation(NPC, 36.07, -9.17, -59.06, 1, 0)
  374. MovementLoopAddLocation(NPC, 36.62, -9.58, -66.66, 1, math.random(16, 24))
  375. MovementLoopAddLocation(NPC, 32.45, -7.63, -61.62, 1, 0)
  376. MovementLoopAddLocation(NPC, 28.9, -9.42, -61.49, 1, math.random(16, 24))
  377. MovementLoopAddLocation(NPC, 20.53, -9.73, -68.07, 1, math.random(16, 24))
  378. MovementLoopAddLocation(NPC, 26.37, -8.94, -63.66, 1, 0)
  379. MovementLoopAddLocation(NPC, 31.34, -9.03, -60.1, 1, math.random(16, 24))
  380. MovementLoopAddLocation(NPC, 29.46, -8.54, -62.09, 1, 0)
  381. elseif GetSpawnLocationID(NPC) == 133774650 then
  382. MovementLoopAddLocation(NPC, 33.12, -10.17, -57.3, 1, math.random(16, 24))
  383. MovementLoopAddLocation(NPC, 33.1, -7.56, -61.94, 1, 0)
  384. MovementLoopAddLocation(NPC, 31.81, -7.25, -65.08, 1, 0)
  385. MovementLoopAddLocation(NPC, 32.13, -9.13, -70.87, 1, math.random(16, 24))
  386. MovementLoopAddLocation(NPC, 27.28, -8.84, -63.46, 1, 0)
  387. MovementLoopAddLocation(NPC, 25.48, -10.05, -62.06, 1, math.random(16, 24))
  388. MovementLoopAddLocation(NPC, 32.09, -7.48, -65.92, 1, 0)
  389. MovementLoopAddLocation(NPC, 36.73, -9.62, -63.99, 1, math.random(16, 24))
  390. MovementLoopAddLocation(NPC, 34.04, -8.62, -66.18, 1, 0)
  391. MovementLoopAddLocation(NPC, 20.30, -9.36, -71.94, 1, math.random(16, 24))
  392. MovementLoopAddLocation(NPC, 33.5, -10.48, -73.34, 1, math.random(16, 24))
  393. MovementLoopAddLocation(NPC, 33.32, -10.18, -57.14, 1, math.random(16, 24))
  394. MovementLoopAddLocation(NPC, 36.99, -9.6, -58.82, 1, math.random(16, 24))
  395. MovementLoopAddLocation(NPC, 31.67, -8.5, -60.69, 1, 0)
  396. MovementLoopAddLocation(NPC, 28.13, -9.11, -62.54, 1, 0)
  397. MovementLoopAddLocation(NPC, 26.59, -9.97, -61.75, 1, math.random(16, 24))
  398. MovementLoopAddLocation(NPC, 27, -8.97, -63.43, 1, 0)
  399. MovementLoopAddLocation(NPC, 25.52, -8.68, -65.71, 1, 0)
  400. MovementLoopAddLocation(NPC, 23.16, -8.94, -66.87, 1, 0)
  401. MovementLoopAddLocation(NPC, 21.99, -9, -67.8, 1, 0)
  402. MovementLoopAddLocation(NPC, 19.68, -9.98, -71.91, 1, math.random(16, 24))
  403. MovementLoopAddLocation(NPC, 21.26, -9.33, -69.22, 1, 0)
  404. MovementLoopAddLocation(NPC, 27.93, -8.68, -63.29, 1, math.random(16, 24))
  405. MovementLoopAddLocation(NPC, 28.55, -7.84, -69.34, 1, 0)
  406. MovementLoopAddLocation(NPC, 31.06, -8.73, -70.18, 1, 0)
  407. MovementLoopAddLocation(NPC, 32.48, -9.83, -72.12, 1, math.random(16, 24))
  408. elseif GetSpawnLocationID(NPC) == 133774651 then
  409. MovementLoopAddLocation(NPC, 36.51, -9.44, -64.06, 1, math.random(16, 24))
  410. MovementLoopAddLocation(NPC, 27.93, -7.78, -69.67, 1, 0)
  411. MovementLoopAddLocation(NPC, 25.32, -8.22, -71.99, 1, 0)
  412. MovementLoopAddLocation(NPC, 21.06, -9.17, -71.45, 1, math.random(16, 24))
  413. MovementLoopAddLocation(NPC, 26.67, -9.78, -62.29, 1, math.random(16, 24))
  414. MovementLoopAddLocation(NPC, 22, -8.96, -68.04, 1, 0)
  415. MovementLoopAddLocation(NPC, 21.34, -9.37, -68.92, 1, 0)
  416. MovementLoopAddLocation(NPC, 19.89, -9.66, -71.72, 1, math.random(16, 24))
  417. MovementLoopAddLocation(NPC, 22.54, -8.71, -68.39, 1, 0)
  418. MovementLoopAddLocation(NPC, 36.82, -9.54, -58.7, 1, math.random(16, 24))
  419. MovementLoopAddLocation(NPC, 34.19, -7.9, -64.3, 1, 0)
  420. MovementLoopAddLocation(NPC, 32.48, -9.45, -71.41, 1, math.random(16, 24))
  421. MovementLoopAddLocation(NPC, 36.69, -9.61, -66.61, 1, 0)
  422. elseif GetSpawnLocationID(NPC) == 133774652 then
  423. MovementLoopAddLocation(NPC, 32.45, -9.63, -71.7, 1, math.random(16, 24))
  424. MovementLoopAddLocation(NPC, 39.18, -10.5, -63.1, 1, math.random(16, 24))
  425. MovementLoopAddLocation(NPC, 19.58, -9.86, -69.6, 1, math.random(16, 24))
  426. MovementLoopAddLocation(NPC, 31.16, -9.07, -60.1, 1, 0)
  427. MovementLoopAddLocation(NPC, 32.18, -9.26, -59.05, 1, 0)
  428. MovementLoopAddLocation(NPC, 33.39, -10.24, -56.92, 1, math.random(16, 24))
  429. MovementLoopAddLocation(NPC, 21.36, -9.14, -71.43, 1, math.random(16, 24))
  430. MovementLoopAddLocation(NPC, 25.54, -9.18, -64.48, 1, 0)
  431. MovementLoopAddLocation(NPC, 26.83, -9.84, -61.21, 1, math.random(16, 24))
  432. elseif GetSpawnLocationID(NPC) == 133774653 then
  433. MovementLoopAddLocation(NPC, 26.88, -9.86, -62.08, 1, math.random(16, 24))
  434. MovementLoopAddLocation(NPC, 29.37, -9.32, -61.26, 1, 0)
  435. MovementLoopAddLocation(NPC, 30.14, -9.24, -60.58, 1, 0)
  436. MovementLoopAddLocation(NPC, 32.62, -9.02, -59.37, 1, 0)
  437. MovementLoopAddLocation(NPC, 33.25, -10.13, -57.33, 1, math.random(16, 24))
  438. MovementLoopAddLocation(NPC, 33.25, -8.95, -59.46, 1, 0)
  439. MovementLoopAddLocation(NPC, 31.46, -8.33, -60.98, 1, 0)
  440. MovementLoopAddLocation(NPC, 25.26, -9.29, -64.57, 1, 0)
  441. MovementLoopAddLocation(NPC, 23.94, -9.01, -66.29, 1, 0)
  442. MovementLoopAddLocation(NPC, 19.75, -9.92, -71.94, 1, math.random(16, 24))
  443. MovementLoopAddLocation(NPC, 23.45, -9.02, -66.58, 1, 0)
  444. MovementLoopAddLocation(NPC, 25.26, -8.93, -65.32, 1, 0)
  445. MovementLoopAddLocation(NPC, 26.43, -9.91, -61.75, 1, math.random(16, 24))
  446. MovementLoopAddLocation(NPC, 31.46, -9.54, -72.47, 1, math.random(16, 24))
  447. MovementLoopAddLocation(NPC, 29.56, -8.8, -72.18, 1, 0)
  448. MovementLoopAddLocation(NPC, 27.86, -8.7, -72.29, 1, 0)
  449. MovementLoopAddLocation(NPC, 19.99, -9.78, -72.19, 1, math.random(16, 24))
  450. MovementLoopAddLocation(NPC, 27.36, -9.21, -62.8, 1, math.random(16, 24))
  451. MovementLoopAddLocation(NPC, 25.76, -8.56, -65.78, 1, 0)
  452. MovementLoopAddLocation(NPC, 23.89, -8.72, -66.71, 1, 0)
  453. MovementLoopAddLocation(NPC, 20.03, -9.94, -72.6, 1, math.random(16, 24))
  454. MovementLoopAddLocation(NPC, 23.56, -9.49, -65.88, 1, 0)
  455. MovementLoopAddLocation(NPC, 25.84, -8.83, -64.87, 1, 0)
  456. elseif GetSpawnLocationID(NPC) == 133774654 then
  457. MovementLoopAddLocation(NPC, 20.19, -9.7, -72.44, 1, math.random(16, 24))
  458. MovementLoopAddLocation(NPC, 23.94, -8.06, -68.81, 1, 0)
  459. MovementLoopAddLocation(NPC, 27.5, -9.09, -62.9, 1, math.random(16, 24))
  460. MovementLoopAddLocation(NPC, 21.77, -9.21, -67.31, 1, 0)
  461. MovementLoopAddLocation(NPC, 20.9, -9.18, -71.67, 1, math.random(16, 24))
  462. MovementLoopAddLocation(NPC, 21.66, -9.22, -67.7, 1, 0)
  463. MovementLoopAddLocation(NPC, 36.61, -9.59, -63.6, 1, math.random(16, 24))
  464. MovementLoopAddLocation(NPC, 21, -9.57, -67.93, 1, 0)
  465. MovementLoopAddLocation(NPC, 21.97, -8.83, -70.4, 1, 0)
  466. MovementLoopAddLocation(NPC, 23.91, -8.98, -72.87, 1, 0)
  467. MovementLoopAddLocation(NPC, 33.05, -10.41, -73.7, 1, math.random(16, 24))
  468. MovementLoopAddLocation(NPC, 31.88, -9.13, -71.13, 1, 0)
  469. MovementLoopAddLocation(NPC, 31.63, -8.76, -69.4, 1, math.random(16, 24))
  470. MovementLoopAddLocation(NPC, 23, -8.44, -67.69, 1, 0)
  471. elseif GetSpawnLocationID(NPC) == 133774655 then
  472. MovementLoopAddLocation(NPC, 33.47, -8.94, -68.5, 1, math.random(16, 24))
  473. MovementLoopAddLocation(NPC, 25.44, -8.41, -66.56, 1, 0)
  474. MovementLoopAddLocation(NPC, 23.38, -10.2, -64.7, 1, math.random(16, 24))
  475. MovementLoopAddLocation(NPC, 21.36, -9.39, -73.54, 1, math.random(16, 24))
  476. MovementLoopAddLocation(NPC, 21.26, -9.48, -67.54, 1, 0)
  477. MovementLoopAddLocation(NPC, 23.79, -8.48, -67.21, 1, 0)
  478. MovementLoopAddLocation(NPC, 27.13, -8.1, -65.4, 1, 0)
  479. MovementLoopAddLocation(NPC, 36.41, -9.17, -60.99, 1, math.random(16, 24))
  480. MovementLoopAddLocation(NPC, 33.93, -7.74, -64.36, 1, 0)
  481. MovementLoopAddLocation(NPC, 26.6, -9.52, -73.83, 1, math.random(16, 24))
  482. MovementLoopAddLocation(NPC, 23.05, -8.88, -72.23, 1, 0)
  483. MovementLoopAddLocation(NPC, 22.12, -8.82, -70.56, 1, 0)
  484. MovementLoopAddLocation(NPC, 24.19, -9.85, -64.49, 1, math.random(16, 24))
  485. elseif GetSpawnLocationID(NPC) == 133774656 then
  486. MovementLoopAddLocation(NPC, 26.4, -9.48, -73.78, 1, math.random(16, 24))
  487. MovementLoopAddLocation(NPC, 28.02, -8.71, -72.29, 1, 0)
  488. MovementLoopAddLocation(NPC, 28.2, -7.83, -69.93, 1, 0)
  489. MovementLoopAddLocation(NPC, 30.85, -9.6, -59.02, 1, math.random(16, 24))
  490. MovementLoopAddLocation(NPC, 22.02, -9.07, -72.84, 1, math.random(16, 24))
  491. MovementLoopAddLocation(NPC, 36.37, -9.12, -61.58, 1, math.random(16, 24))
  492. MovementLoopAddLocation(NPC, 30.48, -7.78, -67.73, 1, 0)
  493. MovementLoopAddLocation(NPC, 27.89, -7.93, -70.59, 1, 0)
  494. MovementLoopAddLocation(NPC, 27.1, -8.59, -72.27, 1, math.random(16, 24))
  495. elseif GetSpawnLocationID(NPC) == 133774657 then
  496. MovementLoopAddLocation(NPC, 53.37, -10.07, -31.52, 1, math.random(16, 24))
  497. -- MovementLoopAddLocation(NPC, 55.7, -8.9, -32.19, 1, 0)
  498. MovementLoopAddLocation(NPC, 55.73, -8.78, -29.55, 1, 0)
  499. MovementLoopAddLocation(NPC, 61.52, -8.19, -23.7, 1, 0)
  500. MovementLoopAddLocation(NPC, 63.16, -8.94, -23.28, 1, math.random(16, 24))
  501. MovementLoopAddLocation(NPC, 68.87, -9.29, -24.76, 1, 0)
  502. MovementLoopAddLocation(NPC, 72.93, -10.10, -29.15, 1, math.random(16, 24))
  503. MovementLoopAddLocation(NPC, 65.53, -6.69, -28.71, 1, 0)
  504. MovementLoopAddLocation(NPC, 64.1, -6.71, -32.02, 1, 0)
  505. MovementLoopAddLocation(NPC, 61.03, -7.65, -34.38, 1, 0)
  506. MovementLoopAddLocation(NPC, 49.64, -12.03, -30.93, 1, math.random(16, 24))
  507. MovementLoopAddLocation(NPC, 59.69, -6.85, -28.23, 1, 0)
  508. MovementLoopAddLocation(NPC, 61.38, -7.6, -24.69, 1, 0)
  509. MovementLoopAddLocation(NPC, 62.18, -10.74, -22.02, 1, math.random(16, 24))
  510. MovementLoopAddLocation(NPC, 61.91, -9.63, -22.68, 1, 0)
  511. MovementLoopAddLocation(NPC, 63.79, -8.79, -23.34, 1, 0)
  512. MovementLoopAddLocation(NPC, 70.46, -8.79, -28.19, 1, math.random(16, 24))
  513. MovementLoopAddLocation(NPC, 62.92, -8.51, -23.66, 1, 0)
  514. MovementLoopAddLocation(NPC, 60.39, -8.09, -24.56, 1, 0)
  515. MovementLoopAddLocation(NPC, 58.29, -7.76, -26.16, 1, 0)
  516. MovementLoopAddLocation(NPC, 54.82, -9.76, -27.56, 1, 0)
  517. MovementLoopAddLocation(NPC, 51.83, -11.74, -27.9, 1, math.random(16, 24))
  518. MovementLoopAddLocation(NPC, 54.33, -10, -27.85, 1, 0)
  519. MovementLoopAddLocation(NPC, 55.77, -8.73, -29.06, 1, 0)
  520. MovementLoopAddLocation(NPC, 55.94, -8.59, -30.93, 1, 0)
  521. MovementLoopAddLocation(NPC, 53.92, -9.85, -31.21, 1, math.random(16, 24))
  522. MovementLoopAddLocation(NPC, 67.97, -7.58, -28.27, 1, math.random(16, 24))
  523. MovementLoopAddLocation(NPC, 55.95, -8.59, -29.8, 1, 0)
  524. elseif GetSpawnLocationID(NPC) == 133774658 then
  525. MovementLoopAddLocation(NPC, 24.15, -8.88, -66.32, 1, math.random(16, 24))
  526. MovementLoopAddLocation(NPC, 34.15, -9.03, -68.24, 1, 0)
  527. MovementLoopAddLocation(NPC, 36.55, -9.88, -68.36, 1, math.random(16, 24))
  528. MovementLoopAddLocation(NPC, 36.03, -9.4, -66.99, 1, 0)
  529. MovementLoopAddLocation(NPC, 35.18, -8.45, -61.36, 1, math.random(16, 24))
  530. MovementLoopAddLocation(NPC, 23.02, -10.35, -64.81, 1, math.random(16, 24))
  531. MovementLoopAddLocation(NPC, 30.81, -9.86, -58.42, 1, math.random(16, 24))
  532. MovementLoopAddLocation(NPC, 28.96, -9.39, -61.52, 1, 0)
  533. MovementLoopAddLocation(NPC, 27.87, -9.17, -62.53, 1, 0)
  534. MovementLoopAddLocation(NPC, 23.78, -9.21, -66.11, 1, math.random(16, 24))
  535. MovementLoopAddLocation(NPC, 30.39, -8.78, -71.61, 1, 0)
  536. MovementLoopAddLocation(NPC, 31.34, -10.47, -74.75, 1, math.random(16, 24))
  537. elseif GetSpawnLocationID(NPC) == 133774659 then
  538. MovementLoopAddLocation(NPC, 20.32, -10.86, -75.7, 1, math.random(16, 24))
  539. MovementLoopAddLocation(NPC, 20.48, -9.21, -71.54, 1, 0)
  540. MovementLoopAddLocation(NPC, 25.2, -9.1, -65.04, 1, math.random(16, 24))
  541. MovementLoopAddLocation(NPC, 25.77, -8.58, -65.71, 1, 0)
  542. MovementLoopAddLocation(NPC, 25.82, -7.71, -68.06, 1, 0)
  543. MovementLoopAddLocation(NPC, 22.43, -8.99, -72.59, 1, math.random(16, 24))
  544. MovementLoopAddLocation(NPC, 23.9, -8.96, -72.81, 1, 0)
  545. MovementLoopAddLocation(NPC, 26.22, -9.17, -73.38, 1, math.random(16, 24))
  546. MovementLoopAddLocation(NPC, 26.47, -8.16, -71.65, 1, 0)
  547. MovementLoopAddLocation(NPC, 24.05, -8.04, -68.54, 1, 0)
  548. MovementLoopAddLocation(NPC, 23.53, -9.1, -66.43, 1, 0)
  549. MovementLoopAddLocation(NPC, 23.2, -10.24, -64.85, 1, math.random(16, 24))
  550. MovementLoopAddLocation(NPC, 20.55, -9.55, -69.31, 1, 0)
  551. MovementLoopAddLocation(NPC, 21.18, -9.84, -73.86, 1, math.random(16, 24))
  552. MovementLoopAddLocation(NPC, 28.48, -7.89, -70.02, 1, 0)
  553. MovementLoopAddLocation(NPC, 35.46, -9.55, -68.42, 1, math.random(16, 24))
  554. MovementLoopAddLocation(NPC, 23.24, -10.2, -63.32, 1, math.random(16, 24))
  555. MovementLoopAddLocation(NPC, 23.69, -9.26, -66.1, 1, 0)
  556. elseif GetSpawnLocationID(NPC) == 133774660 then
  557. MovementLoopAddLocation(NPC, 38.75, -10.54, -60.81, 1, math.random(16, 24))
  558. MovementLoopAddLocation(NPC, 31.98, -8.58, -68.28, 1, 0)
  559. MovementLoopAddLocation(NPC, 26.84, -9.38, -73.66, 1, math.random(16, 24))
  560. MovementLoopAddLocation(NPC, 26.04, -8.09, -66.66, 1, 0)
  561. MovementLoopAddLocation(NPC, 24.44, -9.25, -65.59, 1, math.random(16, 24))
  562. MovementLoopAddLocation(NPC, 29.51, -9.29, -61.17, 1, 0)
  563. MovementLoopAddLocation(NPC, 30.64, -10.22, -57.87, 1, math.random(16, 24))
  564. MovementLoopAddLocation(NPC, 30.04, -9.12, -61.04, 1, 0)
  565. MovementLoopAddLocation(NPC, 26.86, -9.78, -74.22, 1, math.random(16, 24))
  566. MovementLoopAddLocation(NPC, 24.76, -8.39, -72.03, 1, 0)
  567. MovementLoopAddLocation(NPC, 22.13, -9.31, -66.89, 1, math.random(16, 24))
  568. MovementLoopAddLocation(NPC, 20.99, -9.6, -73.5, 1, math.random(16, 24))
  569. MovementLoopAddLocation(NPC, 35.86, -8.85, -61.67, 1, math.random(16, 24))
  570. MovementLoopAddLocation(NPC, 34.51, -8.01, -63.89, 1, 0)
  571. MovementLoopAddLocation(NPC, 30.2, -8.43, -70.03, 1, 0)
  572. MovementLoopAddLocation(NPC, 26.3, -9.35, -73.58, 1, math.random(16, 24))
  573. MovementLoopAddLocation(NPC, 26.65, -8.21, -71.69, 1, 0)
  574. MovementLoopAddLocation(NPC, 30.63, -10.14, -58.02, 1, math.random(16, 24))
  575. MovementLoopAddLocation(NPC, 34.23, -9.25, -58.78, 1, 0)
  576. MovementLoopAddLocation(NPC, 35.11, -9.64, -69.3, 1, math.random(16, 24))
  577. MovementLoopAddLocation(NPC, 36.05, -9.1, -64.33, 1, 0)
  578. elseif GetSpawnLocationID(NPC) == 133774661 then
  579. MovementLoopAddLocation(NPC, 53.41, -10.17, -28.44, 1, math.random(16, 24))
  580. MovementLoopAddLocation(NPC, 57.96, -7.37, -28.04, 1, 0)
  581. MovementLoopAddLocation(NPC, 73.02, -10.23, -27.17, 1, math.random(16, 24))
  582. MovementLoopAddLocation(NPC, 68.11, -9.37, -24.25, 1, 0)
  583. MovementLoopAddLocation(NPC, 66.34, -7.93, -26.33, 1, 0)
  584. MovementLoopAddLocation(NPC, 64.18, -6.92, -32.5, 1, 0)
  585. MovementLoopAddLocation(NPC, 62.14, -7.82, -34.85, 1, 0)
  586. MovementLoopAddLocation(NPC, 51.56, -10.60, -30.4, 1, math.random(16, 24))
  587. MovementLoopAddLocation(NPC, 57.52, -7.5, -28.49, 1, 0)
  588. MovementLoopAddLocation(NPC, 63.55, -13.84, -18.58, 1, math.random(16, 24))
  589. MovementLoopAddLocation(NPC, 67.81, -9.78, -23.35, 1, 0)
  590. MovementLoopAddLocation(NPC, 71.87, -9.89, -25.96, 1, math.random(16, 24))
  591. MovementLoopAddLocation(NPC, 64.75, -7.24, -33.08, 1, 0)
  592. MovementLoopAddLocation(NPC, 61.76, -7.38, -34.07, 1, 0)
  593. MovementLoopAddLocation(NPC, 52.12, -10.52, -31.17, 1, math.random(16, 24))
  594. MovementLoopAddLocation(NPC, 51.03, -12.4, -27.57, 1, math.random(16, 24))
  595. elseif GetSpawnLocationID(NPC) == 133774662 then
  596. MovementLoopAddLocation(NPC, 52.2, -10.2, -32.2, 1, math.random(16, 24))
  597. MovementLoopAddLocation(NPC, 53.63, -9.93, -28.81, 1, math.random(16, 24))
  598. MovementLoopAddLocation(NPC, 55.83, -8.68, -28.89, 1, 0)
  599. MovementLoopAddLocation(NPC, 58.61, -7.16, -27.97, 1, 0)
  600. MovementLoopAddLocation(NPC, 62.01, -9.83, -22.53, 1, math.random(16, 24))
  601. MovementLoopAddLocation(NPC, 60.87, -7.84, -24.44, 1, 0)
  602. MovementLoopAddLocation(NPC, 57.34, -8.51, -26.35, 1, 0)
  603. MovementLoopAddLocation(NPC, 54.12, -9.77, -31.13, 1, math.random(16, 24))
  604. MovementLoopAddLocation(NPC, 74.35, -10.88, -27.14, 1, math.random(16, 24))
  605. MovementLoopAddLocation(NPC, 64.75, -7.07, -32.35, 1, 0)
  606. MovementLoopAddLocation(NPC, 55.36, -9.15, -31.86, 1, 0)
  607. MovementLoopAddLocation(NPC, 52.28, -10.46, -31.19, 1, math.random(16, 24))
  608. MovementLoopAddLocation(NPC, 56.32, -8.24, -30.13, 1, math.random(16, 24))
  609. MovementLoopAddLocation(NPC, 54.22, -9.73, -32.66, 1, math.random(16, 24))
  610. MovementLoopAddLocation(NPC, 51.88, -10.26, -30.42, 1, math.random(16, 24))
  611. MovementLoopAddLocation(NPC, 54.1, -9.7, -30.08, 1, 0)
  612. MovementLoopAddLocation(NPC, 56.15, -8.38, -30.14, 1, 0)
  613. MovementLoopAddLocation(NPC, 58.15, -7.27, -28.78, 1, 0)
  614. MovementLoopAddLocation(NPC, 61.93, -9.67, -22.65, 1, math.random(16, 24))
  615. MovementLoopAddLocation(NPC, 59.43, -8.26, -25.1, 1, 0)
  616. MovementLoopAddLocation(NPC, 56.37, -8.68, -27.18, 1, 0)
  617. MovementLoopAddLocation(NPC, 53.57, -9.87, -29.83, 1, math.random(16, 24))
  618. MovementLoopAddLocation(NPC, 59.95, -6.59, -28.87, 1, 0)
  619. MovementLoopAddLocation(NPC, 74.86, -10.95, -29.18, 1, math.random(16, 24))
  620. MovementLoopAddLocation(NPC, 69.04, -8.52, -31.5, 1, 0)
  621. MovementLoopAddLocation(NPC, 58.23, -8.55, -34.2, 1, 0)
  622. end
  623. end
  624. function respawn(NPC)
  625. spawn(NPC)
  626. end