PeriniusAbatro.lua 671 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/antonica/PeriniusAbatro.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.26 06:06:00
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = MakeRandomInt(1, 3)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "How do you do?", "", 1689589577, 4560189, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "Pleasant day, I'd say.", "", 1689589577, 4560189, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "", "Hello there!", "", 1689589577, 4560189, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end