Gobantik.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/SourceEvil/Gobantik.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.16 01:01:47
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. math.randomseed(os.time())
  10. local choice = math.random (1,10)
  11. if choice == 1 then
  12. SpawnSet(NPC, "name", "Jonobtik")
  13. elseif choice == 2 then
  14. SpawnSet(NPC, "name", "Jibaner")
  15. elseif choice == 3 then
  16. SpawnSet(NPC, "name", "Zartik")
  17. elseif choice == 4 then
  18. SpawnSet(NPC, "name", "Konantik")
  19. elseif choice == 5 then
  20. SpawnSet(NPC, "name", "Kebn")
  21. elseif choice == 6 then
  22. SpawnSet(NPC, "name", "Lenarn")
  23. elseif choice == 7 then
  24. SpawnSet(NPC, "name", "Jonarn")
  25. elseif choice == 8 then
  26. SpawnSet(NPC, "name", "Jonober")
  27. elseif choice == 9 then
  28. SpawnSet(NPC, "name", "Ganer")
  29. else
  30. SpawnSet(NPC, "name", "Gobantik")
  31. end
  32. end
  33. function hailed(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. end
  36. function respawn(NPC)
  37. end