ataintedSapswillTapper429367.lua 683 B

12345678910111213141516171819202122232425262728
  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. math.randomseed(os.time())
  15. local choice = math.random(1,5)
  16. local timer = math.random(2500,3500)
  17. if choice == 1 then
  18. PlayAnimation(NPC, 11400)
  19. AddTimer(NPC, timer, "EmoteLoop")
  20. else
  21. PlayAnimation(NPC, 11399)
  22. AddTimer(NPC, timer, "EmoteLoop")
  23. end
  24. end