ahungryBaubbleshirecitizen133771772.lua 623 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/ahungryBaubbleshirecitizen133771772.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.19 06:01:10
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. math.randomseed(os.time())
  10. choice = math.random(1133,1140)
  11. SpawnSet(NPC, "hair_type", choice)
  12. end
  13. function hailed(NPC, Spawn)
  14. math.randomseed(os.time())
  15. voice = math.random(1,3)
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1024.mp3", "", "", 0, 0, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end