9
3

TheDarkPuppeteer.lua 720 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/TheDarkPuppeteer.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.22 05:08:51
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. EmoteLoop(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function EmoteLoop (NPC)
  17. local choice = math.random(1,2)
  18. local timer = math.random(2500,3500)
  19. if choice == 1 then
  20. PlayAnimation(NPC, 10956)
  21. AddTimer(NPC, timer, "EmoteLoop")
  22. else
  23. PlayAnimation(NPC, 10961)
  24. AddTimer(NPC, timer, "EmoteLoop")
  25. end
  26. end