07spiketrap.lua 410 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : SpawnScripts/WailingCaves/07spiketrap.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.04.23 12:04:59
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTransportSpawn(NPC)
  10. AddTimer(NPC, 5000, "UseLift")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function UseLift(NPC)
  16. UseWidget(NPC)
  17. --AddTimer(NPC, 5000, "UseLift")
  18. end