Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /lucky:
- trigger:
- if player is holding a pickaxe:
- if line 1 of lore of player's tool is not set:
- set line 1 of lore of player's tool to "&7Jackhammer 0"
- if line 2 of lore of player's tool is not set:
- set line 2 of lore of player's tool to "&7Explosive 0"
- if line 3 of lore of player's tool is not set:
- set line 3 of lore of player's tool to "&7InstaSell 0"
- if line 4 of lore of player's tool is not set:
- set line 4 of lore of player's tool to "&7Merchant 0"
- if line 5 of lore of player's tool is not set:
- set line 5 of lore of player's tool to "&7Crate Finder 0"
- if line 6 of lore of player's tool is not set:
- set line 6 of lore of player's tool to "&7Token Excavator 0"
- if line 7 of lore of player's tool is not set:
- set line 7 of lore of player's tool to "&7Laser 0"
- if line 8 of lore of player's tool is not set:
- set line 8 of lore of player's tool to "&7Lucky 0"
- if line 9 of lore of player's tool is not set:
- set line 9 of lore of player's tool to "&7Drill 0"
- if {lucky.%player%} is less than 1:
- set line 8 of the lore of the player's tool to "&7Lucky 0"
- set {lucky.%player%} to 1
- else:
- if {ntokens.%player%} is less than 250000:
- send "&7You Need 250,000 N-Tokens For This!"
- if {ntokens.%player%} is greater than 249999:
- if line 8 of the lore of the player's tool is "&7Lucky 100":
- send "&7Your Lucky is already maxed!"
- if line 8 of the lore of the player's tool is not "&7Lucky 100":
- remove 250000 from {ntokens.%player%}
- send "&7You Bought +1 Lucky For 250,000 N-Tokens!"
- if line 8 of the lore of the player's tool is "&7Lucky 0":
- set line 8 of the lore of the player's tool to "&7Lucky 1"
- stop
- if line 8 of the lore of the player's tool is "&7Lucky 1":
- set line 8 of the lore of the player's tool to "&7Lucky 2"
- stop
- if line 8 of the lore of the player's tool is "&7Lucky 2":
- set line 8 of the lore of the player's tool to "&7Lucky 3"
- stop
- if line 8 of the lore of the player's tool is "&7Lucky 3":
- set line 8 of the lore of the player's tool to "&7Lucky 4"
- stop
- if line 8 of the lore of the player's tool is "&7Lucky 4":
- set line 8 of the lore of the player's tool to "&7Lucky 5"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement