9
3

KaylieBrianne.lua 730 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/FrostfellWonderlandVillage/KaylieBrianne.lua
  3. Script Purpose : Kaylie Brianne
  4. Script Author : Cynnar
  5. Script Date : 2019.10.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. local choice = math.random(1,2)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "", "Woah... woah... Oh no!!", "", 1689589577, 4560189, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "", "Oh no! I can't stay standing... it's too slippery!", "", 1689589577, 4560189, Spawn)
  21. else
  22. end
  23. end