9
3

ATaintedSapswillTapper.lua 647 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/ataintedSapswillTapper.lua
  3. Script Purpose : aSapswillTapper Animation Script
  4. Script Author : premierio015
  5. Script Date : 2020.09.04
  6. --]]
  7. function spawn(NPC)
  8. EmoteLoop(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function EmoteLoop (NPC)
  14. local choice = math.random(1,2)
  15. local timer = math.random(2500,3500)
  16. if choice == 1 then
  17. PlayAnimation(NPC, 11400)
  18. AddTimer(NPC, timer, "EmoteLoop")
  19. else
  20. PlayAnimation(NPC, 11399)
  21. AddTimer(NPC, timer, "EmoteLoop")
  22. end
  23. end