9
3

areefturtle.lua 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/areefturtle.lua
  3. Script Author : Premierio015, Rylec
  4. Script Date : 2022.07.12 09:07:22
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. if GetSpawnLocationID(NPC) == 427015 then
  10. MovementLoopAddLocation(NPC, -53.29, -11.78, 193.66, 2, math.random(10, 20))
  11. MovementLoopAddLocation(NPC, -48.49, -11.93, 191.32, 2, math.random(10, 20))
  12. MovementLoopAddLocation(NPC, -66.21, -11.74, 185.15, 2, math.random(10, 20))
  13. MovementLoopAddLocation(NPC, -88.35, -13.27, 206.6, 2, 0)
  14. MovementLoopAddLocation(NPC, -91.58, -13.44, 210.49, 2, math.random(10, 20))
  15. MovementLoopAddLocation(NPC, -96.41, -13.33, 216.8, 2, 0)
  16. MovementLoopAddLocation(NPC, -106.8, -13.44, 241.98, 2, math.random(10, 20))
  17. MovementLoopAddLocation(NPC, -100.89, -14.22, 229.99, 2, 0)
  18. MovementLoopAddLocation(NPC, -95.96, -14.8, 220.14, 2, 0)
  19. MovementLoopAddLocation(NPC, -91.58, -14.74, 218.94, 2, math.random(10, 20))
  20. MovementLoopAddLocation(NPC, -91.01, -14.78, 210.1, 2, 0)
  21. MovementLoopAddLocation(NPC, -89.63, -14.07, 208.27, 2, 0)
  22. MovementLoopAddLocation(NPC, -85.32, -12.43, 200.7, 2, 0)
  23. MovementLoopAddLocation(NPC, -76.23, -11.57, 191.61, 2, math.random(10, 20))
  24. MovementLoopAddLocation(NPC, -73.02, -12.19, 194.15, 2, 0)
  25. MovementLoopAddLocation(NPC, -61.55, -11.84, 193.48, 2, 0)
  26. elseif GetSpawnLocationID(NPC) == 427014 then
  27. MovementLoopAddLocation(NPC, -48.31, -13.79, 256.58, 2, math.random(10, 20))
  28. MovementLoopAddLocation(NPC, -62.36, -14.7, 266.1, 2, math.random(10, 20))
  29. MovementLoopAddLocation(NPC, -71.29, -15.18, 262.18, 2, math.random(10, 20))
  30. MovementLoopAddLocation(NPC, -64.52, -14.77, 267.37, 2, math.random(10, 20))
  31. MovementLoopAddLocation(NPC, -67.14, -14.81, 264.85, 2, 0)
  32. MovementLoopAddLocation(NPC, -75.68, -14.12, 252.46, 2, math.random(10, 20))
  33. MovementLoopAddLocation(NPC, -60.38, -12.05, 248.86, 2, math.random(10, 20))
  34. MovementLoopAddLocation(NPC, -57.73, -12.03, 252.47, 2, 0)
  35. MovementLoopAddLocation(NPC, -54.23, -12.43, 270.52, 2, math.random(10, 20))
  36. MovementLoopAddLocation(NPC, -41.48, -12.42, 265.1, 2, math.random(10, 20))
  37. elseif GetSpawnLocationID(NPC) == 427016 then
  38. MovementLoopAddLocation(NPC, -114.5, -14.68, 233.62, 2, math.random(10, 20))
  39. MovementLoopAddLocation(NPC, -119.65, -14.74, 237.8, 2, math.random(10, 20))
  40. MovementLoopAddLocation(NPC, -99.87, -14.3, 240.05, 2, 0)
  41. MovementLoopAddLocation(NPC, -93.45, -14.25, 238.51, 2, 0)
  42. MovementLoopAddLocation(NPC, -88.61, -14.17, 233.37, 2, 0)
  43. MovementLoopAddLocation(NPC, -87.08, -13.47, 231.95, 2, 0)
  44. MovementLoopAddLocation(NPC, -83.65, -13.42, 231.46, 2, math.random(10, 20))
  45. MovementLoopAddLocation(NPC, -95.76, -14.26, 229.62, 2, 0)
  46. MovementLoopAddLocation(NPC, -109.26, -14.72, 218.93, 2, math.random(10, 20))
  47. MovementLoopAddLocation(NPC, -83.53, -13.4, 217.95, 2, 0)
  48. MovementLoopAddLocation(NPC, -80.74, -11.32, 216.65, 2, 0)
  49. MovementLoopAddLocation(NPC, -74.04, -10.99, 214.73, 2, math.random(10, 20))
  50. MovementLoopAddLocation(NPC, -75.17, -11.41, 212.9, 2, 0)
  51. MovementLoopAddLocation(NPC, -78.23, -11.7, 205.41, 2, 0)
  52. MovementLoopAddLocation(NPC, -87.13, -12.93, 188.95, 2, 0)
  53. MovementLoopAddLocation(NPC, -89.32, -12.86, 187.01, 2, math.random(10, 20))
  54. MovementLoopAddLocation(NPC, -83.66, -11.29, 196.05, 2, 0)
  55. MovementLoopAddLocation(NPC, -81.74, -11.36, 199.8, 2, math.random(10, 20))
  56. MovementLoopAddLocation(NPC, -94.07, -12.34, 199.98, 2, 0)
  57. MovementLoopAddLocation(NPC, -113.24, -14.73, 217.97, 2, 0)
  58. elseif GetSpawnLocationID(NPC) == 427017 then
  59. MovementLoopAddLocation(NPC, -84.03, -12.71, 187.28, 2, math.random(10, 20))
  60. MovementLoopAddLocation(NPC, -68.78, -11.72, 170.4, 2, math.random(10, 20))
  61. MovementLoopAddLocation(NPC, -73.82, -11.77, 191.42, 2, math.random(10, 20))
  62. MovementLoopAddLocation(NPC, -89.32, -11.96, 197.12, 2, 0)
  63. MovementLoopAddLocation(NPC, -113.27, -12.29, 199.91, 2, 0)
  64. MovementLoopAddLocation(NPC, -124.61, -13.25, 209.75, 2, 0)
  65. MovementLoopAddLocation(NPC, -127.35, -13.47, 212.52, 2, math.random(10, 20))
  66. MovementLoopAddLocation(NPC, -104.34, -13.47, 212.56, 2, math.random(10, 20))
  67. MovementLoopAddLocation(NPC, -111.98, -14.72, 246.36, 2, math.random(10, 20))
  68. MovementLoopAddLocation(NPC, -104.29, -13.41, 214.7, 2, math.random(10, 20))
  69. MovementLoopAddLocation(NPC, -99.84, -13.35, 203.63, 2, 0)
  70. MovementLoopAddLocation(NPC, -95.79, -12.64, 199.82, 2, 0)
  71. MovementLoopAddLocation(NPC, -91.54, -12.38, 196.4, 2, 0)
  72. MovementLoopAddLocation(NPC, -86.72, -12.69, 190.72, 2, 0)
  73. elseif GetSpawnLocationID(NPC) == 427018 then
  74. MovementLoopAddLocation(NPC, -148.41, -13.66, 134.94, 2, math.random(10, 20))
  75. MovementLoopAddLocation(NPC, -142.35, -13.11, 131.53, 2, 0)
  76. MovementLoopAddLocation(NPC, -139.24, -11.74, 127.17, 2, 0)
  77. MovementLoopAddLocation(NPC, -138.46, -11.83, 122.92, 2, math.random(10, 20))
  78. MovementLoopAddLocation(NPC, -135.94, -12.28, 127.38, 2, 0)
  79. MovementLoopAddLocation(NPC, -132.26, -12.79, 130.83, 2, 0)
  80. MovementLoopAddLocation(NPC, -131.08, -12.83, 134.6, 2, math.random(10, 20))
  81. MovementLoopAddLocation(NPC, -130.02, -12.56, 137.82, 2, 0)
  82. MovementLoopAddLocation(NPC, -112.76, -12.23, 160.3, 2, 0)
  83. MovementLoopAddLocation(NPC, -108.8, -11.8, 160.8, 2, 0)
  84. MovementLoopAddLocation(NPC, -106.17, -12, 166.46, 2, math.random(10, 20))
  85. MovementLoopAddLocation(NPC, -132.61, -12.54, 154.72, 2, 0)
  86. MovementLoopAddLocation(NPC, -143.04, -14.84, 149.74, 2, 0)
  87. MovementLoopAddLocation(NPC, -147.57, -14.58, 153.83, 2, math.random(10, 20))
  88. MovementLoopAddLocation(NPC, -148.66, -15.21, 168.42, 2, math.random(10, 20))
  89. MovementLoopAddLocation(NPC, -143.93, -13.65, 140.95, 2, 0)
  90. MovementLoopAddLocation(NPC, -146.12, -13.75, 120.86, 2, math.random(10, 20))
  91. MovementLoopAddLocation(NPC, -144.16, -13.41, 150.42, 2, 0)
  92. MovementLoopAddLocation(NPC, -138.97, -13.57, 159.45, 2, math.random(10, 20))
  93. MovementLoopAddLocation(NPC, -142.97, -12.32, 153.21, 2, 0)
  94. elseif GetSpawnLocationID(NPC) == 427019 then
  95. MovementLoopAddLocation(NPC, -121.44, -11.77, 97.6, 2, math.random(10, 20))
  96. MovementLoopAddLocation(NPC, -117.78, -11.77, 116.16, 2, math.random(10, 20))
  97. MovementLoopAddLocation(NPC, -120.59, -10.41, 126.34, 2, 0)
  98. MovementLoopAddLocation(NPC, -127.18, -10.62, 132.28, 2, 0)
  99. MovementLoopAddLocation(NPC, -137.78, -12.36, 139.34, 2, 0)
  100. MovementLoopAddLocation(NPC, -142.99, -12.59, 142.21, 2, math.random(10, 20))
  101. MovementLoopAddLocation(NPC, -121.4, -11.73, 153.33, 2, math.random(10, 20))
  102. MovementLoopAddLocation(NPC, -126.19, -12.2, 162, 2, 0)
  103. MovementLoopAddLocation(NPC, -135.72, -13.58, 175.77, 2, math.random(10, 20))
  104. MovementLoopAddLocation(NPC, -119.44, -13.77, 179.33, 2, math.random(10, 20))
  105. MovementLoopAddLocation(NPC, -119.98, -13.29, 174.63, 2, 0)
  106. MovementLoopAddLocation(NPC, -129.05, -12.34, 155.73, 2, 0)
  107. MovementLoopAddLocation(NPC, -130.52, -12.35, 153.68, 2, 0)
  108. MovementLoopAddLocation(NPC, -133.79, -12.24, 143.79, 2, 0)
  109. MovementLoopAddLocation(NPC, -135.87, -12.73, 138.53, 2, math.random(10, 20))
  110. MovementLoopAddLocation(NPC, -145.03, -13.04, 127.91, 2, 0)
  111. MovementLoopAddLocation(NPC, -148.5, -12.36, 104.96, 2, math.random(10, 20))
  112. MovementLoopAddLocation(NPC, -144.52, -12.58, 104.79, 2, math.random(10, 20))
  113. MovementLoopAddLocation(NPC, -128.82, -10.33, 93.52, 2, 0)
  114. MovementLoopAddLocation(NPC, -122.63, -11.66, 95.18, 2, 0)
  115. elseif GetSpawnLocationID(NPC) == 427020 then
  116. MovementLoopAddLocation(NPC, -108.61, -12.21, 108.24, 2, math.random(10, 20))
  117. MovementLoopAddLocation(NPC, -111.98, -12.35, 104.16, 2, 0)
  118. MovementLoopAddLocation(NPC, -119.87, -12.27, 99.98, 2, 0)
  119. MovementLoopAddLocation(NPC, -122.63, -12.33, 96.62, 2, math.random(10, 20))
  120. MovementLoopAddLocation(NPC, -125.07, -11.11, 94.17, 2, 0)
  121. MovementLoopAddLocation(NPC, -129.27, -10.38, 94.34, 2, 0)
  122. MovementLoopAddLocation(NPC, -133.23, -11.12, 99.46, 2, 0)
  123. MovementLoopAddLocation(NPC, -132.68, -12.71, 101.02, 2, 0)
  124. MovementLoopAddLocation(NPC, -130.31, -12.67, 106.14, 2, math.random(10, 20))
  125. MovementLoopAddLocation(NPC, -128.8, -11.87, 127.54, 2, math.random(10, 20))
  126. MovementLoopAddLocation(NPC, -141.12, -12.73, 138.5, 2, math.random(10, 20))
  127. MovementLoopAddLocation(NPC, -132.07, -12.24, 150.07, 2, 0)
  128. MovementLoopAddLocation(NPC, -130.28, -11.79, 154.74, 2, 0)
  129. MovementLoopAddLocation(NPC, -129.2, -11.86, 156.35, 2, 0)
  130. MovementLoopAddLocation(NPC, -123.7, -12.01, 168.52, 2, math.random(10, 20))
  131. MovementLoopAddLocation(NPC, -127.5, -12.57, 171.22, 2, 0)
  132. MovementLoopAddLocation(NPC, -129.52, -13.58, 174.03, 2, 0)
  133. MovementLoopAddLocation(NPC, -135.96, -14.87, 179.49, 2, 0)
  134. MovementLoopAddLocation(NPC, -138.14, -14.83, 179.18, 2, math.random(10, 20))
  135. MovementLoopAddLocation(NPC, -136.01, -14.73, 167.88, 2, 0)
  136. MovementLoopAddLocation(NPC, -140.63, -13.29, 158.75, 2, 0)
  137. MovementLoopAddLocation(NPC, -143, -13.64, 153.31, 2, math.random(10, 20))
  138. MovementLoopAddLocation(NPC, -130.01, -12.37, 149.99, 2, 0)
  139. MovementLoopAddLocation(NPC, -101.35, -11.74, 145.95, 2, math.random(10, 20))
  140. MovementLoopAddLocation(NPC, -127.28, -11.29, 133.66, 2, 0)
  141. MovementLoopAddLocation(NPC, -132.24, -12.81, 131.11, 2, 0)
  142. MovementLoopAddLocation(NPC, -130.73, -12.92, 124.77, 2, math.random(10, 20))
  143. MovementLoopAddLocation(NPC, -129.26, -11.58, 133.49, 2, 0)
  144. MovementLoopAddLocation(NPC, -120.15, -11.48, 127.34, 2, 0)
  145. elseif GetSpawnLocationID(NPC) == 427021 then
  146. MovementLoopAddLocation(NPC, -128.54, -13.55, 186.91, 2, math.random(10, 20))
  147. MovementLoopAddLocation(NPC, -127.67, -14.42, 183.43, 2, 0)
  148. MovementLoopAddLocation(NPC, -123.3, -14.85, 179.31, 2, math.random(10, 20))
  149. MovementLoopAddLocation(NPC, -133.89, -13.51, 177.19, 2, 0)
  150. MovementLoopAddLocation(NPC, -141.13, -13.58, 175.5, 2, math.random(10, 20))
  151. MovementLoopAddLocation(NPC, -143.93, -14.04, 160.58, 2, 0)
  152. MovementLoopAddLocation(NPC, -144.81, -13.66, 149.7, 2, math.random(10, 20))
  153. MovementLoopAddLocation(NPC, -129.35, -12.13, 153.45, 2, 0)
  154. MovementLoopAddLocation(NPC, -119.68, -11.8, 157.07, 2, math.random(10, 20))
  155. MovementLoopAddLocation(NPC, -126.69, -12.33, 159.45, 2, 0)
  156. MovementLoopAddLocation(NPC, -146.62, -12.36, 175.58, 2, math.random(10, 20))
  157. MovementLoopAddLocation(NPC, -129.09, -13.31, 176.37, 2, 0)
  158. MovementLoopAddLocation(NPC, -124.24, -14.79, 178.21, 2, 0)
  159. MovementLoopAddLocation(NPC, -123.14, -14.86, 179.43, 2, math.random(10, 20))
  160. MovementLoopAddLocation(NPC, -128.33, -14.12, 182.63, 2, 0)
  161. MovementLoopAddLocation(NPC, -131.23, -13.27, 185.15, 2, 0)
  162. MovementLoopAddLocation(NPC, -130.39, -12.38, 209.1, 2, math.random(10, 20))
  163. MovementLoopAddLocation(NPC, -148.15, -13.43, 206.66, 2, 0)
  164. MovementLoopAddLocation(NPC, -148.52, -14.5, 194.2, 2, math.random(10, 20))
  165. MovementLoopAddLocation(NPC, -137.67, -14.69, 209.18, 2, math.random(10, 20))
  166. elseif GetSpawnLocationID(NPC) == 427022 then
  167. MovementLoopAddLocation(NPC, -137.57, -11.53, 142.18, 2, math.random(10, 20))
  168. MovementLoopAddLocation(NPC, -110.28, -11.7, 144.11, 2, 0)
  169. MovementLoopAddLocation(NPC, -103.36, -11.75, 145.81, 2, math.random(10, 20))
  170. MovementLoopAddLocation(NPC, -114.95, -11.31, 174.14, 2, 0)
  171. MovementLoopAddLocation(NPC, -125.07, -12.34, 197.92, 2, math.random(10, 20))
  172. MovementLoopAddLocation(NPC, -136.44, -12.84, 183.13, 2, 0)
  173. MovementLoopAddLocation(NPC, -140.48, -12.06, 179.75, 2, 0)
  174. MovementLoopAddLocation(NPC, -144.86, -12.33, 175.58, 2, math.random(10, 20))
  175. MovementLoopAddLocation(NPC, -115.24, -13.44, 184.96, 2, 0)
  176. MovementLoopAddLocation(NPC, -113.89, -13.59, 186.77, 2, math.random(10, 20))
  177. MovementLoopAddLocation(NPC, -110.39, -13.75, 186.79, 2, math.random(10, 20))
  178. MovementLoopAddLocation(NPC, -124.84, -11.7, 156.97, 2, math.random(10, 20))
  179. MovementLoopAddLocation(NPC, -119.19, -12.13, 150.99, 2, 0)
  180. MovementLoopAddLocation(NPC, -117.6, -11.73, 150.55, 2, 0)
  181. MovementLoopAddLocation(NPC, -113.77, -11.74, 149.43, 2, math.random(10, 20))
  182. MovementLoopAddLocation(NPC, -120.17, -10.67, 147.91, 2, 0)
  183. elseif GetSpawnLocationID(NPC) == 427023 then
  184. MovementLoopAddLocation(NPC, -148.4, -14.77, 153.25, 2, math.random(10, 20))
  185. MovementLoopAddLocation(NPC, -146.99, -15.17, 150.66, 2, 0)
  186. MovementLoopAddLocation(NPC, -143.53, -14.54, 147.28, 2, 0)
  187. MovementLoopAddLocation(NPC, -140.96, -12.77, 145.9, 2, 0)
  188. MovementLoopAddLocation(NPC, -139.79, -12.38, 145.06, 2, 0)
  189. MovementLoopAddLocation(NPC, -135.32, -12.05, 143.63, 2, 0)
  190. MovementLoopAddLocation(NPC, -126.91, -11.74, 138.68, 2, math.random(10, 20))
  191. MovementLoopAddLocation(NPC, -128.88, -12.17, 143.46, 2, 0)
  192. MovementLoopAddLocation(NPC, -131.53, -12.21, 147.33, 2, 0)
  193. MovementLoopAddLocation(NPC, -136.86, -13.82, 151.93, 2, 0)
  194. MovementLoopAddLocation(NPC, -138.27, -13.37, 152.32, 2, 0)
  195. MovementLoopAddLocation(NPC, -138.84, -12.43, 153.25, 2, 0)
  196. MovementLoopAddLocation(NPC, -141.34, -12.43, 157.05, 2, math.random(10, 20))
  197. MovementLoopAddLocation(NPC, -139.36, -12.56, 153.27, 2, math.random(10, 20))
  198. MovementLoopAddLocation(NPC, -127.83, -12.24, 153.18, 2, 0)
  199. MovementLoopAddLocation(NPC, -121.37, -12.24, 151.72, 2, 0)
  200. MovementLoopAddLocation(NPC, -117.95, -12.21, 149.83, 2, 0)
  201. MovementLoopAddLocation(NPC, -103.14, -11.82, 145.89, 2, math.random(10, 20))
  202. MovementLoopAddLocation(NPC, -131.73, -11.63, 134.71, 2, math.random(10, 20))
  203. MovementLoopAddLocation(NPC, -95.99, -11.74, 134.82, 2, math.random(10, 20))
  204. MovementLoopAddLocation(NPC, -123.11, -11.79, 108.75, 2, math.random(10, 20))
  205. MovementLoopAddLocation(NPC, -121.79, -10.41, 111.45, 2, 0)
  206. MovementLoopAddLocation(NPC, -110.49, -11.86, 114.33, 2, 0)
  207. MovementLoopAddLocation(NPC, -108.78, -11.87, 116.07, 2, math.random(10, 20))
  208. MovementLoopAddLocation(NPC, -92.43, -11.72, 145.81, 2, math.random(10, 20))
  209. MovementLoopAddLocation(NPC, -128.54, -12.25, 149.68, 2, 0)
  210. MovementLoopAddLocation(NPC, -145.14, -14.74, 150.77, 2, 0)
  211. elseif GetSpawnLocationID(NPC) == 427024 then
  212. MovementLoopAddLocation(NPC, -126.87, -11.74, 164.41, 2, math.random(10, 20))
  213. MovementLoopAddLocation(NPC, -128.19, -12.33, 163.9, 2, 0)
  214. MovementLoopAddLocation(NPC, -131.32, -12.5, 160.77, 2, 0)
  215. MovementLoopAddLocation(NPC, -134.28, -12.46, 157.86, 2, 0)
  216. MovementLoopAddLocation(NPC, -136.24, -12.5, 157.59, 2, 0)
  217. MovementLoopAddLocation(NPC, -139.39, -12.58, 153.32, 2, math.random(10, 20))
  218. MovementLoopAddLocation(NPC, -143.94, -14.59, 150.82, 2, 0)
  219. MovementLoopAddLocation(NPC, -145.34, -14.68, 152.92, 2, math.random(10, 20))
  220. MovementLoopAddLocation(NPC, -145.62, -13.26, 157.53, 2, 0)
  221. MovementLoopAddLocation(NPC, -148.44, -13.59, 164.56, 2, math.random(10, 20))
  222. MovementLoopAddLocation(NPC, -146.67, -14.8, 171.89, 2, 0)
  223. MovementLoopAddLocation(NPC, -149.44, -14.77, 172.86, 2, math.random(10, 20))
  224. MovementLoopAddLocation(NPC, -148.28, -13.96, 164.71, 2, 0)
  225. MovementLoopAddLocation(NPC, -140.93, -13.24, 152.5, 2, 0)
  226. MovementLoopAddLocation(NPC, -139.91, -13.33, 147.9, 2, 0)
  227. MovementLoopAddLocation(NPC, -121.24, -11.54, 148.05, 2, 0)
  228. MovementLoopAddLocation(NPC, -117.9, -11.77, 149.72, 2, math.random(10, 20))
  229. MovementLoopAddLocation(NPC, -120.56, -12.05, 150.26, 2, 0)
  230. MovementLoopAddLocation(NPC, -129.13, -12.29, 156.07, 2, 0)
  231. MovementLoopAddLocation(NPC, -136.24, -14.28, 161.69, 2, 0)
  232. MovementLoopAddLocation(NPC, -143.99, -14.25, 166.53, 2, 0)
  233. MovementLoopAddLocation(NPC, -146.55, -14.74, 170.43, 2, 0)
  234. MovementLoopAddLocation(NPC, -149.12, -14.89, 168.03, 2, math.random(10, 20))
  235. MovementLoopAddLocation(NPC, -143.78, -14.74, 168.75, 2, 0)
  236. MovementLoopAddLocation(NPC, -133.37, -14.27, 164.46, 2, 0)
  237. MovementLoopAddLocation(NPC, -131.34, -13.83, 165.16, 2, 0)
  238. MovementLoopAddLocation(NPC, -129.45, -13.79, 164.58, 2, math.random(10, 20))
  239. MovementLoopAddLocation(NPC, -131.89, -13.28, 162.98, 2, 0)
  240. MovementLoopAddLocation(NPC, -144.72, -14.17, 146.42, 2, 0)
  241. MovementLoopAddLocation(NPC, -147.97, -14.81, 132.6, 2, 0)
  242. MovementLoopAddLocation(NPC, -152.6, -14.88, 129.38, 2, math.random(10, 20))
  243. MovementLoopAddLocation(NPC, -146.52, -14.21, 140.64, 2, 0)
  244. MovementLoopAddLocation(NPC, -136.67, -12.41, 158.24, 2, 0)
  245. MovementLoopAddLocation(NPC, -130.29, -12.25, 159.92, 2, 0)
  246. MovementLoopAddLocation(NPC, -128.93, -11.65, 161.22, 2, 0)
  247. elseif GetSpawnLocationID(NPC) == 427025 then
  248. MovementLoopAddLocation(NPC, -146.67, -12.39, 194.28, 2, math.random(10, 20))
  249. MovementLoopAddLocation(NPC, -126.12, -14.85, 195.67, 2, 0)
  250. MovementLoopAddLocation(NPC, -123.22, -14.76, 194.19, 2, math.random(10, 20))
  251. MovementLoopAddLocation(NPC, -133.36, -12.18, 194.34, 2, 0)
  252. MovementLoopAddLocation(NPC, -148.27, -12.41, 194.06, 2, math.random(10, 20))
  253. MovementLoopAddLocation(NPC, -125.76, -11.31, 145.38, 2, 0)
  254. MovementLoopAddLocation(NPC, -103.77, -11.65, 110.5, 2, 0)
  255. MovementLoopAddLocation(NPC, -103.35, -11.83, 105.15, 2, math.random(10, 20))
  256. MovementLoopAddLocation(NPC, -103.02, -11.34, 112.45, 2, 0)
  257. MovementLoopAddLocation(NPC, -99.89, -11.11, 114.84, 2, 0)
  258. MovementLoopAddLocation(NPC, -87.71, -11.02, 127.29, 2, 0)
  259. MovementLoopAddLocation(NPC, -81.82, -11.75, 138.29, 2, math.random(10, 20))
  260. MovementLoopAddLocation(NPC, -117.98, -11.72, 131.02, 2, math.random(10, 20))
  261. MovementLoopAddLocation(NPC, -126.87, -11.32, 132.28, 2, 0)
  262. MovementLoopAddLocation(NPC, -131.17, -12.31, 131.85, 2, 0)
  263. MovementLoopAddLocation(NPC, -142.17, -13.27, 131.5, 2, 0)
  264. MovementLoopAddLocation(NPC, -143.28, -13.78, 131.04, 2, 0)
  265. MovementLoopAddLocation(NPC, -144.88, -13.65, 133.08, 2, math.random(10, 20))
  266. MovementLoopAddLocation(NPC, -143.94, -14.3, 147.92, 2, 0)
  267. MovementLoopAddLocation(NPC, -144.8, -14.73, 153.2, 2, math.random(10, 20))
  268. MovementLoopAddLocation(NPC, -144.37, -13.57, 162.41, 2, 0)
  269. MovementLoopAddLocation(NPC, -141.9, -12.23, 182.65, 2, 0)
  270. MovementLoopAddLocation(NPC, -142.99, -12.3, 190.42, 2, math.random(10, 20))
  271. MovementLoopAddLocation(NPC, -134, -13.45, 184.01, 2, 0)
  272. MovementLoopAddLocation(NPC, -129.05, -14.4, 184.21, 2, 0)
  273. MovementLoopAddLocation(NPC, -126.8, -14.85, 186.31, 2, 0)
  274. MovementLoopAddLocation(NPC, -126.99, -14.8, 187.33, 2, math.random(10, 20))
  275. MovementLoopAddLocation(NPC, -137.72, -14.74, 212.46, 2, math.random(10, 20))
  276. MovementLoopAddLocation(NPC, -147.77, -13.27, 197.93, 2, 0)
  277. MovementLoopAddLocation(NPC, -147.82, -12.48, 195.27, 2, 0)
  278. elseif GetSpawnLocationID(NPC) == 427026 then
  279. MovementLoopAddLocation(NPC, -139.41, -12.33, 205.31, 2, math.random(10, 20))
  280. MovementLoopAddLocation(NPC, -137.66, -12.45, 209.32, 2, math.random(10, 20))
  281. MovementLoopAddLocation(NPC, -137.76, -13.46, 212.79, 2, 0)
  282. MovementLoopAddLocation(NPC, -142.8, -13.93, 216.97, 2, math.random(10, 20))
  283. MovementLoopAddLocation(NPC, -146.53, -13.63, 212.89, 2, 0)
  284. MovementLoopAddLocation(NPC, -152.38, -13.7, 208.94, 2, math.random(10, 20))
  285. MovementLoopAddLocation(NPC, -146.71, -14.66, 205.34, 2, math.random(10, 20))
  286. MovementLoopAddLocation(NPC, -128.94, -12.24, 181.34, 2, 0)
  287. MovementLoopAddLocation(NPC, -128.29, -12.39, 178.56, 2, math.random(10, 20))
  288. MovementLoopAddLocation(NPC, -128.07, -12.69, 173.89, 2, 0)
  289. MovementLoopAddLocation(NPC, -124.75, -12.29, 162.18, 2, 0)
  290. MovementLoopAddLocation(NPC, -124.97, -11.74, 149.51, 2, math.random(10, 20))
  291. MovementLoopAddLocation(NPC, -117.89, -12.08, 160.16, 2, 0)
  292. MovementLoopAddLocation(NPC, -105.36, -11.71, 171.96, 2, 0)
  293. MovementLoopAddLocation(NPC, -101.51, -11.78, 175.84, 2, math.random(10, 20))
  294. MovementLoopAddLocation(NPC, -103.33, -12.29, 177.34, 2, 0)
  295. MovementLoopAddLocation(NPC, -117.73, -12.53, 179.26, 2, math.random(10, 20))
  296. elseif GetSpawnLocationID(NPC) == 427027 then
  297. MovementLoopAddLocation(NPC, -116.12, -11.82, 66.37, 2, math.random(10, 20))
  298. MovementLoopAddLocation(NPC, -114.52, -10.65, 68.26, 2, 0)
  299. MovementLoopAddLocation(NPC, -105.3, -11.92, 74.32, 2, 0)
  300. MovementLoopAddLocation(NPC, -107.27, -11.67, 78.23, 2, math.random(10, 20))
  301. MovementLoopAddLocation(NPC, -108.89, -10.5, 72.36, 2, 0)
  302. MovementLoopAddLocation(NPC, -121.45, -10.5, 63.59, 2, 0)
  303. MovementLoopAddLocation(NPC, -127.36, -10.45, 56.17, 2, 0)
  304. MovementLoopAddLocation(NPC, -128.81, -11.47, 54.47, 2, 0)
  305. MovementLoopAddLocation(NPC, -130.01, -11.67, 51.47, 2, math.random(10, 20))
  306. MovementLoopAddLocation(NPC, -128.49, -11.77, 39.63, 2, math.random(10, 20))
  307. MovementLoopAddLocation(NPC, -127.66, -10.55, 51.07, 2, 0)
  308. MovementLoopAddLocation(NPC, -120.8, -10.35, 60.25, 2, 0)
  309. MovementLoopAddLocation(NPC, -115.9, -11.74, 64.15, 2, 0)
  310. MovementLoopAddLocation(NPC, -112.56, -11.86, 64.28, 2, math.random(10, 20))
  311. MovementLoopAddLocation(NPC, -120.71, -10.51, 61.74, 2, 0)
  312. MovementLoopAddLocation(NPC, -129.69, -10.31, 55.95, 2, 0)
  313. MovementLoopAddLocation(NPC, -134.89, -12.77, 52.67, 2, 0)
  314. MovementLoopAddLocation(NPC, -143.93, -13.05, 50.88, 2, 0)
  315. MovementLoopAddLocation(NPC, -145.57, -13.18, 51.19, 2, 0)
  316. MovementLoopAddLocation(NPC, -148.19, -13.44, 52.96, 2, 0)
  317. MovementLoopAddLocation(NPC, -148.53, -14.76, 66.29, 2, math.random(10, 20))
  318. MovementLoopAddLocation(NPC, -148.04, -13.37, 51.34, 2, 0)
  319. MovementLoopAddLocation(NPC, -144.04, -13.24, 50.95, 2, 0)
  320. MovementLoopAddLocation(NPC, -137.87, -12.8, 56.01, 2, math.random(10, 20))
  321. MovementLoopAddLocation(NPC, -131.69, -12.3, 55.35, 2, 0)
  322. MovementLoopAddLocation(NPC, -129.72, -11.28, 56.01, 2, 0)
  323. MovementLoopAddLocation(NPC, -127.65, -10.57, 57.29, 2, 0)
  324. MovementLoopAddLocation(NPC, -120.36, -10.36, 61.57, 2, 0)
  325. MovementLoopAddLocation(NPC, -116.64, -11.59, 64.87, 2, 0)
  326. elseif GetSpawnLocationID(NPC) == 427028 then
  327. MovementLoopAddLocation(NPC, -137.73, -12.79, 41.78, 2, math.random(10, 20))
  328. MovementLoopAddLocation(NPC, -136.23, -11.66, 33.55, 2, math.random(10, 20))
  329. MovementLoopAddLocation(NPC, -131.14, -11.4, 46.9, 2, 0)
  330. MovementLoopAddLocation(NPC, -127.44, -10.4, 55.74, 2, 0)
  331. MovementLoopAddLocation(NPC, -125.11, -11.18, 61.05, 2, 0)
  332. MovementLoopAddLocation(NPC, -120.5, -10.99, 64.03, 2, math.random(10, 20))
  333. MovementLoopAddLocation(NPC, -124.35, -11.58, 61.86, 2, 0)
  334. MovementLoopAddLocation(NPC, -126.89, -11.81, 57.97, 2, math.random(10, 20))
  335. MovementLoopAddLocation(NPC, -129.6, -12.28, 56.53, 2, 0)
  336. MovementLoopAddLocation(NPC, -132.18, -12.78, 58.67, 2, math.random(10, 20))
  337. MovementLoopAddLocation(NPC, -130.49, -11.94, 56.57, 2, 0)
  338. MovementLoopAddLocation(NPC, -129.67, -11.5, 56.54, 2, 0)
  339. MovementLoopAddLocation(NPC, -127.73, -10.67, 57.34, 2, 0)
  340. MovementLoopAddLocation(NPC, -122.96, -10.34, 60.37, 2, 0)
  341. MovementLoopAddLocation(NPC, -115.94, -11.68, 66.99, 2, 0)
  342. MovementLoopAddLocation(NPC, -110.04, -11.87, 70.2, 2, math.random(10, 20))
  343. MovementLoopAddLocation(NPC, -118.21, -11.03, 68.02, 2, 0)
  344. MovementLoopAddLocation(NPC, -119.07, -10.3, 63.72, 2, 0)
  345. MovementLoopAddLocation(NPC, -123.62, -10.3, 57.27, 2, 0)
  346. MovementLoopAddLocation(NPC, -129.52, -10.57, 53.43, 2, 0)
  347. MovementLoopAddLocation(NPC, -133.96, -12.02, 46.11, 2, 0)
  348. MovementLoopAddLocation(NPC, -128.51, -11.86, 49.85, 2, math.random(10, 20))
  349. MovementLoopAddLocation(NPC, -136.24, -11.39, 31.44, 2, 0)
  350. MovementLoopAddLocation(NPC, -136.27, -11.55, 19.19, 2, math.random(10, 20))
  351. MovementLoopAddLocation(NPC, -138, -12.74, 8.02, 2, 0)
  352. MovementLoopAddLocation(NPC, -145.57, -12.57, 4.98, 2, math.random(10, 20))
  353. MovementLoopAddLocation(NPC, -138.24, -12.41, 39.12, 2, 0)
  354. MovementLoopAddLocation(NPC, -137.98, -13.29, 44.96, 2, 0)
  355. MovementLoopAddLocation(NPC, -146.73, -13.26, 52.55, 2, math.random(10, 20))
  356. elseif GetSpawnLocationID(NPC) == 427029 then
  357. MovementLoopAddLocation(NPC, -147.05, -13.74, 51.93, 2, math.random(10, 20))
  358. MovementLoopAddLocation(NPC, -144.29, -13.45, 50.49, 2, 0)
  359. MovementLoopAddLocation(NPC, -133.57, -12.22, 51.9, 2, 0)
  360. MovementLoopAddLocation(NPC, -131.24, -12.35, 52.19, 2, 0)
  361. MovementLoopAddLocation(NPC, -116.14, -11.76, 57.97, 2, math.random(10, 20))
  362. MovementLoopAddLocation(NPC, -131.62, -12.3, 53.86, 2, 0)
  363. MovementLoopAddLocation(NPC, -135.36, -12.54, 55.54, 2, 0)
  364. MovementLoopAddLocation(NPC, -143.77, -12.57, 65.95, 2, math.random(10, 20))
  365. MovementLoopAddLocation(NPC, -135.78, -12.53, 55.9, 2, 0)
  366. MovementLoopAddLocation(NPC, -131.17, -12.4, 55.24, 2, 0)
  367. MovementLoopAddLocation(NPC, -129.65, -11.58, 55.81, 2, 0)
  368. MovementLoopAddLocation(NPC, -127.75, -10.52, 58.19, 2, 0)
  369. MovementLoopAddLocation(NPC, -113.51, -10.5, 77.43, 2, math.random(10, 20))
  370. MovementLoopAddLocation(NPC, -128.34, -10.5, 38.54, 2, 0)
  371. MovementLoopAddLocation(NPC, -129.58, -11.26, 33.23, 2, 0)
  372. MovementLoopAddLocation(NPC, -133.25, -11.85, 27.37, 2, math.random(10, 20))
  373. MovementLoopAddLocation(NPC, -134.58, -11.62, 45.63, 2, math.random(10, 20))
  374. MovementLoopAddLocation(NPC, -140.73, -12.81, 53.73, 2, 0)
  375. MovementLoopAddLocation(NPC, -140.48, -12.32, 64.22, 2, math.random(10, 20))
  376. MovementLoopAddLocation(NPC, -131.56, -11.7, 75.98, 2, math.random(10, 20))
  377. MovementLoopAddLocation(NPC, -131.64, -11.75, 27.77, 2, math.random(10, 20))
  378. MovementLoopAddLocation(NPC, -136.23, -11.58, 66.23, 2, math.random(10, 20))
  379. MovementLoopAddLocation(NPC, -139.72, -12.31, 56.51, 2, 0)
  380. MovementLoopAddLocation(NPC, -144.14, -13.67, 50.75, 2, 0)
  381. elseif GetSpawnLocationID(NPC) == 427030 then
  382. MovementLoopAddLocation(NPC, -137.62, -12.75, 11.24, 2, math.random(10, 20))
  383. MovementLoopAddLocation(NPC, -126.31, -12.05, 37.64, 2, 0)
  384. MovementLoopAddLocation(NPC, -122.11, -11.98, 43.97, 2, math.random(10, 20))
  385. MovementLoopAddLocation(NPC, -123.3, -11.96, 43.24, 2, 0)
  386. MovementLoopAddLocation(NPC, -125.06, -11.61, 44.82, 2, 0)
  387. MovementLoopAddLocation(NPC, -130.47, -11, 52.14, 2, 0)
  388. MovementLoopAddLocation(NPC, -134.68, -11.38, 57.77, 2, 0)
  389. MovementLoopAddLocation(NPC, -134.68, -11.59, 68.19, 2, math.random(10, 20))
  390. MovementLoopAddLocation(NPC, -140.87, -12.76, 37.64, 2, math.random(10, 20))
  391. MovementLoopAddLocation(NPC, -137.49, -13.36, 48.45, 2, 0)
  392. MovementLoopAddLocation(NPC, -134.75, -12.85, 47.84, 2, math.random(10, 20))
  393. MovementLoopAddLocation(NPC, -143.94, -12.67, 47.8, 2, 0)
  394. MovementLoopAddLocation(NPC, -149.41, -13.14, 44.45, 2, math.random(10, 20))
  395. MovementLoopAddLocation(NPC, -136.13, -12.71, 56.01, 2, math.random(10, 20))
  396. MovementLoopAddLocation(NPC, -130.1, -12.79, 76.38, 2, math.random(10, 20))
  397. MovementLoopAddLocation(NPC, -133.74, -12.29, 81.25, 2, 0)
  398. MovementLoopAddLocation(NPC, -136.54, -12.54, 80.83, 2, 0)
  399. MovementLoopAddLocation(NPC, -141.76, -13.32, 76.73, 2, 0)
  400. MovementLoopAddLocation(NPC, -144.05, -13.7, 71.85, 2, math.random(10, 20))
  401. MovementLoopAddLocation(NPC, -143.37, -13.27, 48.9, 2, 0)
  402. MovementLoopAddLocation(NPC, -136.13, -12.35, 48.51, 2, 0)
  403. MovementLoopAddLocation(NPC, -131.41, -11.78, 46.06, 2, math.random(10, 20))
  404. MovementLoopAddLocation(NPC, -135.54, -11.37, 33.42, 2, 0)
  405. MovementLoopAddLocation(NPC, -137.82, -12.68, 11.15, 2, math.random(10, 20))
  406. MovementLoopAddLocation(NPC, -125, -12.09, 39, 2, 0)
  407. MovementLoopAddLocation(NPC, -122.37, -11.87, 43.67, 2, math.random(10, 20))
  408. MovementLoopAddLocation(NPC, -127.18, -11.1, 47.92, 2, 0)
  409. MovementLoopAddLocation(NPC, -133.19, -11.19, 55.21, 2, 0)
  410. MovementLoopAddLocation(NPC, -134.66, -11.6, 67.99, 2, math.random(10, 20))
  411. MovementLoopAddLocation(NPC, -140.72, -12.77, 37.91, 2, math.random(10, 20))
  412. MovementLoopAddLocation(NPC, -138.49, -13.21, 47.45, 2, 0)
  413. MovementLoopAddLocation(NPC, -134.57, -12.74, 47.78, 2, math.random(10, 20))
  414. MovementLoopAddLocation(NPC, -143.65, -12.77, 47.94, 2, math.random(10, 20))
  415. MovementLoopAddLocation(NPC, -136.14, -12.88, 55.81, 2, math.random(10, 20))
  416. MovementLoopAddLocation(NPC, -130.27, -12.76, 76.67, 2, math.random(10, 20))
  417. MovementLoopAddLocation(NPC, -133.53, -12.02, 79.1, 2, 0)
  418. MovementLoopAddLocation(NPC, -140.27, -13.12, 77.07, 2, 0)
  419. MovementLoopAddLocation(NPC, -143.8, -13.66, 70.56, 2, math.random(10, 20))
  420. MovementLoopAddLocation(NPC, -143.19, -13.29, 48.99, 2, 0)
  421. MovementLoopAddLocation(NPC, -135.44, -12.36, 48.58, 2, 0)
  422. MovementLoopAddLocation(NPC, -131.55, -11.79, 45.75, 2, math.random(10, 20))
  423. MovementLoopAddLocation(NPC, -136.02, -11.3, 31.96, 2, 0)
  424. end
  425. end
  426. function hailed(NPC, Spawn)
  427. FaceTarget(NPC, Spawn)
  428. end
  429. function respawn(NPC)
  430. spawn(NPC)
  431. end