Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. const isGameOver = Patches.getBooleanValue('isGameOver');
  2.  
  3. isGameOver.monitor({fireOnInitialValue: true}).subscribe(function (val) {
  4. if(val.newValue) {
  5. Patches.setBooleanValue('isCharacterVisible', false);
  6. } else {
  7. Patches.setBooleanValue('isCharacterVisible', true);
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement