Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on diamond block:
- player's tool is gold ingot
- execute console command "/clear %player% minecraft:gold_ingot 0 1"
- add 100 to {%player%.Coin}
- on rightclick on gold block:
- if {%player%.Coin} > 100:
- give player 1 gold ingot
- remove 100 from {%player%.Coin}
- command /coin <text> <player> <number>:
- permission:admin.skript
- trigger:
- if arg-1 is "add":
- add arg-3 to {%arg-2%.Coin}
- if arg-1 is "set":
- set {%arg-2%.Coin} to arg-3
- if arg-1 is "remove":
- remove arg-3 from {%arg-2%.Coin}
- if arg-1 is "check":
- send "%arg-2% has %{%arg-2%.Coin}% coin!!"
- command /money:
- trigger:
- send "&3you have %{%player%.Coin}% coin!!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement