Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- set {_hasconverted} to false
- if player is holding paper named "&2Ten Note" with custom model data 106:
- if {_hasconverted} is false:
- remove 1 paper named "&2Ten Note" with custom model data 106 from player's inventory
- wait 5 ticks
- add 10 paper named "&2One Note" with custom model data 105 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&2One Note" with custom model data 105:
- if {_hasconverted} is false:
- remove 1 paper named "&2Ten Note" with custom model data 106 from player's inventory
- wait 5 ticks
- add 2 paper named "&e0.50 Coin" with custom model data 104 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&e0.50 Coin" with custom model data 104:
- if {_hasconverted} is false:
- remove 1 paper named "&e0.50 Coin" with custom model data 104 from player's inventory
- wait 5 ticks
- add 2 paper named "&e0.25 Coin" with custom model data 103 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&e0.25 Coin" with custom model data 103:
- if {_hasconverted} is false:
- remove the player's tool from the player
- wait 5 ticks
- add 2 paper named "&e0.10 Coin" with custom model data 102 to the player's inventory
- add 1 paper named "&e0.05 Coin" with custom model data 101 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&e0.10 Coin" with custom model data 102:
- if {_hasconverted} is false:
- remove 1 paper named "&e0.10 Coin" with custom model data 102 from player's inventory
- wait 5 ticks
- add 2 paper named "&e0.05 Coin" with custom model data 101 to the player's inventory
- set {_hasconverted} to true
- if player's tool is paper named "&e0.05 Coin" with custom model data 101:
- if {_hasconverted} is false:
- remove the player's tool from the player
- wait 5 ticks
- add 5 paper named "&e0.01 Coin" with custom model data 100 to the player's inventory
- set {_hasconverted} to true
- if player's tool is paper named "&2Twenty Note" with custom model data 107:
- if {_hasconverted} is false:
- remove 1 paper named "&2Twenty Note" with custom model data 107 from player's inventory
- wait 5 ticks
- add 2 paper named "&2Ten Note" with custom model data 106 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&2Fifty Note" with custom model data 108:
- if {_hasconverted} is false:
- remove 1 paper named "&2Fifty Note" with custom model data 108 from player's inventory
- add 2 paper named "&2Twenty Note" with custom model data 107 to the player's inventory
- add 1 paper named "&2Ten Note" with custom model data 106 to the player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&2Hundred Note" with custom model data 109:
- if {_hasconverted} is false:
- remove 1 paper named "&2Hundred Note" from player's inventory
- add 2 paper named "&2Fifty Note" with custom model data 108 to player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&2Five Hundred Note" with custom model data 110:
- if {_hasconverted} is false:
- remove 1 paper named "&2Five Hundred Note" with custom model data 110 from player's inventory
- add 5 paper named "&2Hundred Note" with custom model data 109 to player's inventory
- set {_hasconverted} to true
- if player is holding paper named "&2Thousand Note" with custom model data 111:
- if {_hasconverted} is false:
- remove 1 paper named "&2Thousand Note" with custom model data 111 from player's inventory
- add 2 paper named "&2Five Hundred Note" with custom model data 110 to the player's inventory
- set {_hasconverted} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement