Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Script :
  2. //InstanceCache.prototype.writeDirtyInstancesToState
  3.  
  4.  
  5.  
  6.  
  7. //max COINS
  8.  
  9. var _r1 = new RegExp("Currency:c.*");
  10.  
  11. for (var i = 0; i < e.instances.length; i++) {
  12.     if (_r1.test(e.instances[i].modelID)) {
  13.         e.instances[i].value = 999998;
  14.     }
  15. }
  16.  
  17. //MAX TROPHIES
  18.  
  19. var _r1 = new RegExp("Currency:t.*");
  20.  
  21. for (var i = 0; i < e.instances.length; i++) {
  22.     if (_r1.test(e.instances[i].modelID)) {
  23.         e.instances[i].value = 99998;
  24.     }
  25. }
  26.  
  27. //MAX LEVEL:
  28. var _r1 = new RegExp("Item:pl.*");
  29.  
  30. for (var i = 0; i < e.instances.length; i++) {
  31.     if (_r1.test(e.instances[i].modelID)) {
  32.         e.instances[i].stats.xp = 2000000;
  33.         e.instances[i].stats.lastClaimedLevel = 50;
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement