Advertisement
Guest User

Yes

a guest
Sep 17th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. -- A basic monster script skeleton you can copy and modify for your own creations.
  2. comments = {"You feel cold.", "An uneasy feeling rushes\ndown your spine.", "Reading this doesn't seem like\nthe best use of your time."}
  3. commands = {"Check"}
  4. randomdialogue = {"[next]", "[next]", "[next]"}
  5. canspare = false
  6. canflee = false
  7.  
  8. sprite = "Herobrine" --Always PNG. Extension is added automatically.
  9. name = "Herobrine"
  10. hp = 30000
  11. atk = 99
  12. def = -1000
  13. xp = 999999
  14. gold = 1
  15. dialogbubble = "rightwide" -- See documentation for what bubbles you have available.
  16.  
  17. attack = 0
  18.  
  19. -- Happens after the slash animation but before
  20. function HandleAttack(attackstatus)
  21. if attackstatus == -1 then
  22. -- player pressed fight but didn't press Z afterwards
  23. else
  24. -- player did actually attack
  25. attack = attack + 1
  26. if attack == 1 then
  27. currentdialogue = {"[noskip][effect:none]Do you know what it's\nlike to have your\nexistence denied?", "[noskip][effect:none]Really makes you feel\nlike you have no \nplace in this world,\n[w:10]huh?"}
  28. elseif attack == 2 then
  29. currentdialogue = {"[noskip][effect:none]You can't understand\nhow this feels.", "[noskip][effect:none]Knowing that no\nmatter how many\ntimes you show\n yourself...", "[noskip][effect:none]Skeptics will always\nBE skeptics."}
  30. elseif attack == 3 then
  31. currentdialogue = {"[noskip][effect:none]They'll always come\nup with a -logical\nexplanation-", "[noskip][effect:shake]H[w:10]O[w:10]W [w:10]P[w:10]A[w:10]T[w:10]H[w:10]E[w:10]T[w:10]I[w:10]C[w:10]."}
  32. elseif attack == 4 then
  33. currentdialogue = {"[noskip][effect:none]But I've had enough\nof this.", "[noskip][effect:none]Once I defeat you,[w:10]\nI'll become GOD!"}
  34. elseif attack == 5 then
  35. currentdialogue = {"[noskip][effect:shake]SO JUST DIE ALREADY!"}
  36. elseif attack == 6 then
  37. currentdialogue = {"[noskip][effect:none]So just...[w:20] die..."}
  38. elseif attack == 7 then
  39. currentdialogue = {"[noskip][effect:none]..."}
  40. def = -1200
  41. elseif attack == 10 then
  42. def = -40000
  43. elseif attack == 11 then
  44. hp = 1
  45. currentdialogue = {"[noskip][effect:none]Oh...", "[noskip][effect:none]Well, I can't say that\nI don't deserve this.", "[noskip][effect:none]After all the pain I\n caused just to get\npeople to believe in\nme...", "[noskip][effect:none]I deserve to die."}
  46. comments = {"..."}
  47. Audio.Stop()
  48. canspare = true
  49. def = -999999
  50. SetSprite("herobrine_death")
  51. end
  52.  
  53. function Sprite(sprite)
  54. SetSprite(sprite)
  55.  
  56. function State()
  57. State("DEFENDING")
  58.  
  59. -- This handles the commands; all-caps versions of the commands list you have above.
  60. function HandleCustomCommand(command)
  61. if command == "CHECK" then
  62. BattleDialog{"HEROBRINE 99 ATK 99 DEF"}
  63. end
  64. end
  65. end
  66. end
  67. end
  68. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement