Advertisement
lunarcleint

CUSTOM NOTES

Oct 2nd, 2021
2,187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Haxe 1.81 KB | None | 0 0
  1. CODE 1:
  2.  
  3.             public var noignoreNote:Bool = false;
  4.  
  5. CODE 2:
  6.  
  7.             case 'Deez Note':
  8.                     noignoreNote = mustPress;
  9.                     reloadNote('DEEZ');
  10.                     noteSplashTexture = 'HURTnoteSplashes';
  11.                     colorSwap.hue = 0;
  12.                     colorSwap.saturation = 0;
  13.                     colorSwap.brightness = 0;
  14.  
  15. CODE 3:
  16.  
  17.                 if(!daNote.ignoreNote && !daNote.noignoreNote) {
  18.                                     health -= daNote.missHealth; //For testing purposes
  19.                                     songMisses++;
  20.                                     vocals.volume = 0;
  21.                                     RecalculateRating();
  22.  
  23.                                     switch (daNote.noteData % 4)
  24.                                     {
  25.                                         case 0:
  26.                                             boyfriend.playAnim('singLEFTmiss', true);
  27.                                         case 1:
  28.                                             boyfriend.playAnim('singDOWNmiss', true);
  29.                                         case 2:
  30.                                             boyfriend.playAnim('singUPmiss', true);
  31.                                         case 3:
  32.                                             boyfriend.playAnim('singRIGHTmiss', true);
  33.                                     }
  34.                                     callOnLuas('noteMiss', [notes.members.indexOf(daNote), daNote.noteData, daNote.noteType, daNote.isSustainNote]);
  35.                                 }
  36.  
  37.                                 if(daNote.noignoreNote) {
  38.                                     health -= 0;
  39.  
  40.                                     callOnLuas('noteMiss', [notes.members.indexOf(daNote), daNote.noteData, daNote.noteType, daNote.isSustainNote]);
  41.                                 }
  42.                             }
  43.                         }
  44.                     }
  45.  
  46. CODE 4:
  47.  
  48.             case 'Deez Note':
  49.                     if(cpuControlled) return;
  50.  
  51.                     if(!boyfriend.stunned)
  52.                     {
  53.                         if(!endingSong)
  54.                         {
  55.                             if(!note.isSustainNote) {
  56.                                 health -= 10;
  57.                             }
  58.                             else health -= 10;
  59.    
  60.                         }
  61.  
  62.                         note.wasGoodHit = true;
  63.                         vocals.volume = 0;
  64.  
  65.                         if (!note.isSustainNote)
  66.                         {
  67.                             note.kill();
  68.                             notes.remove(note, true);
  69.                             note.destroy();
  70.                         }
  71.                     }
  72.                     return;
  73.  
  74. GOOGLE DRIVE TO ASSETS:
  75. https://drive.google.com/file/d/138yI7L4Ezok6zRqNTRl1J-IlJrx4Qxpp/view?usp=sharing
  76. https://drive.google.com/file/d/1rBUtdmG2kNxRIK4CY_Og3wkuqX7RdCVm/view?usp=sharing
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement