Guest User

fightcounterhelp

a guest
Jul 13th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. function HandleAttack(attackstatus)
  2. if attackstatus == -1 then
  3. -- player pressed fight but didn't press Z afterwards
  4. else
  5. if fightcounter == 0 then
  6. Audio.stop()
  7. currentdialogue = {"[noskip][func:SetSprite,genocideoreo]w-why \nyou...","[noskip][waitall:x]you..\ntried to...","[noskip]kill... \nme[func:SetSprite,genocideoreo1]","[noskip]now... \n[waitall:x][color:ff0000]ima kill u[func:SetSprite,genocideoreo2]"}
  8. hp = 1
  9. def = 15
  10. Player.name = "chara"
  11. canspare = false
  12. check = "he wanna [color:ff0000]kill u"
  13. comments = {"[color:ff0000]Lets kill he and get xp","[color:ff0000]you can kill he"}
  14. if not SongIsPlaying then
  15. SongIsPlaying=true
  16. Audio.LoadFile("megalovania")
  17. end
  18.  
  19. if fightcounter == 1 then
  20. currentdialogue = {"[noskip]you kil \nled sans"}
  21. end
  22.  
  23. if fightcounter == 2 then
  24. currentdialogue = {"[noskip]and then \npapyrus"}
  25. end
  26.  
  27. if fightcounter == 3 then
  28. currentdialogue = {"[noskip]but i \nwill dont \ndie"}
  29. end
  30.  
  31. if fightcounter == 4 then
  32. currentdialogue = {"[noskip]..."}
  33. end
  34.  
  35. elseif fightcounter == 5 then
  36. currentdialogue = {"[noskip]huh... \nyou st \nill trying"}
  37. end
  38.  
  39. fightcounter = fightcounter + 1
  40. end
  41. end
Advertisement
Add Comment
Please, Sign In to add comment