Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. on rightclick:
  2. set {_hasconverted} to false
  3. if player is holding paper named "&2Ten Note" with custom model data 106:
  4. if {_hasconverted} is false:
  5. remove 1 paper named "&2Ten Note" with custom model data 106 from player's inventory
  6. wait 5 ticks
  7. add 10 paper named "&2One Note" with custom model data 105 to the player's inventory
  8. set {_hasconverted} to true
  9. if player is holding paper named "&2One Note" with custom model data 105:
  10. if {_hasconverted} is false:
  11. remove 1 paper named "&2Ten Note" with custom model data 106 from player's inventory
  12. wait 5 ticks
  13. add 2 paper named "&e0.50 Coin" with custom model data 104 to the player's inventory
  14. set {_hasconverted} to true
  15. if player is holding paper named "&e0.50 Coin" with custom model data 104:
  16. if {_hasconverted} is false:
  17. remove 1 paper named "&e0.50 Coin" with custom model data 104 from player's inventory
  18. wait 5 ticks
  19. add 2 paper named "&e0.25 Coin" with custom model data 103 to the player's inventory
  20. set {_hasconverted} to true
  21. if player is holding paper named "&e0.25 Coin" with custom model data 103:
  22. if {_hasconverted} is false:
  23. remove the player's tool from the player
  24. wait 5 ticks
  25. add 2 paper named "&e0.10 Coin" with custom model data 102 to the player's inventory
  26. add 1 paper named "&e0.05 Coin" with custom model data 101 to the player's inventory
  27. set {_hasconverted} to true
  28. if player is holding paper named "&e0.10 Coin" with custom model data 102:
  29. if {_hasconverted} is false:
  30. remove 1 paper named "&e0.10 Coin" with custom model data 102 from player's inventory
  31. wait 5 ticks
  32. add 2 paper named "&e0.05 Coin" with custom model data 101 to the player's inventory
  33. set {_hasconverted} to true
  34. if player's tool is paper named "&e0.05 Coin" with custom model data 101:
  35. if {_hasconverted} is false:
  36. remove the player's tool from the player
  37. wait 5 ticks
  38. add 5 paper named "&e0.01 Coin" with custom model data 100 to the player's inventory
  39. set {_hasconverted} to true
  40. if player's tool is paper named "&2Twenty Note" with custom model data 107:
  41. if {_hasconverted} is false:
  42. remove 1 paper named "&2Twenty Note" with custom model data 107 from player's inventory
  43. wait 5 ticks
  44. add 2 paper named "&2Ten Note" with custom model data 106 to the player's inventory
  45. set {_hasconverted} to true
  46. if player is holding paper named "&2Fifty Note" with custom model data 108:
  47. if {_hasconverted} is false:
  48. remove 1 paper named "&2Fifty Note" with custom model data 108 from player's inventory
  49. add 2 paper named "&2Twenty Note" with custom model data 107 to the player's inventory
  50. add 1 paper named "&2Ten Note" with custom model data 106 to the player's inventory
  51. set {_hasconverted} to true
  52. if player is holding paper named "&2Hundred Note" with custom model data 109:
  53. if {_hasconverted} is false:
  54. remove 1 paper named "&2Hundred Note" from player's inventory
  55. add 2 paper named "&2Fifty Note" with custom model data 108 to player's inventory
  56. set {_hasconverted} to true
  57. if player is holding paper named "&2Five Hundred Note" with custom model data 110:
  58. if {_hasconverted} is false:
  59. remove 1 paper named "&2Five Hundred Note" with custom model data 110 from player's inventory
  60. add 5 paper named "&2Hundred Note" with custom model data 109 to player's inventory
  61. set {_hasconverted} to true
  62. if player is holding paper named "&2Thousand Note" with custom model data 111:
  63. if {_hasconverted} is false:
  64. remove 1 paper named "&2Thousand Note" with custom model data 111 from player's inventory
  65. add 2 paper named "&2Five Hundred Note" with custom model data 110 to the player's inventory
  66. set {_hasconverted} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement