stupidrat1.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --[[
  2. Script Name : stupidrat1.lua
  3. Script Purpose : Waypoint Path for stupidrat1.lua
  4. Script Author : Devn00b
  5. Script Date : 04/29/2020 12:08:29 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. waypoints(NPC)
  16. end
  17. function waypoints(NPC)
  18. while true do
  19. local option = math.random(1,25)
  20. if option == 1 then
  21. MovementLoopAddLocation(NPC, -75.2, -0.13, -130.53, 2, 0)
  22. elseif option == 2 then
  23. MovementLoopAddLocation(NPC, -76.79, -0.05, -129.05, 2, 0)
  24. elseif option == 3 then
  25. MovementLoopAddLocation(NPC, -77.83, -0.03, -130.19, 2, 0)
  26. elseif option == 4 then
  27. MovementLoopAddLocation(NPC, -75.33, -0.07, -127.47, 2, 0)
  28. elseif option == 5 then
  29. MovementLoopAddLocation(NPC, -78.28, -0.08, -124.76, 2, 0)
  30. elseif option == 6 then
  31. MovementLoopAddLocation(NPC, -80.27, -0.08, -126.91, 2, 0)
  32. elseif option == 7 then
  33. MovementLoopAddLocation(NPC, -80.34, -0.1, -123.84, 2, 0)
  34. elseif option == 8 then
  35. MovementLoopAddLocation(NPC, -81.61, -0.12, -124.99, 2, 0)
  36. elseif option == 9 then
  37. MovementLoopAddLocation(NPC, -79.11, -0.09, -124.08, 2, 0)
  38. elseif option == 10 then
  39. MovementLoopAddLocation(NPC, -80.03, -0.08, -128.17, 2, 0)
  40. elseif option == 11 then
  41. MovementLoopAddLocation(NPC, -78.71, -0.08, -127.77, 2, 0)
  42. elseif option == 12 then
  43. MovementLoopAddLocation(NPC, -76.78, -0.05, -129.42, 2, 0)
  44. elseif option == 13 then
  45. MovementLoopAddLocation(NPC, -77.59, -0.04, -130.51, 2, 0)
  46. elseif option == 14 then
  47. MovementLoopAddLocation(NPC, -76.29, -0.13, -131.25, 2, 0)
  48. elseif option == 15 then
  49. MovementLoopAddLocation(NPC, -74.74, -0.09, -128.05, 2, 0)
  50. elseif option == 16 then
  51. MovementLoopAddLocation(NPC, -77.95, -0.08, -127.65, 2, 0)
  52. elseif option == 17 then
  53. MovementLoopAddLocation(NPC, -78.63, -0.08, -126.94, 2, 0)
  54. elseif option == 18 then
  55. MovementLoopAddLocation(NPC, -79.78, -0.08, -127.73, 2, 0)
  56. elseif option == 19 then
  57. MovementLoopAddLocation(NPC, -81.37, -0.14, -124.69, 2, 0)
  58. elseif option == 20 then
  59. MovementLoopAddLocation(NPC, -81.74, -0.11, -125.2, 2, 0)
  60. elseif option == 21 then
  61. MovementLoopAddLocation(NPC, -81.94, -0.09, -125.42, 2, 0)
  62. elseif option == 22 then
  63. MovementLoopAddLocation(NPC, -81.77, -0.1, -122.52, 2, 0)
  64. elseif option == 23 then
  65. MovementLoopAddLocation(NPC, -83.17, -0.09, -122.21, 2, 0)
  66. elseif option == 24 then
  67. MovementLoopAddLocation(NPC, -84.5, -0.08, -123.42, 2, 0)
  68. elseif option == 25 then
  69. MovementLoopAddLocation(NPC, -78.57, -0.08, -127.2, 2, 0)
  70. end
  71. end
  72. end