Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on leftclick on white concrete or orange concrete or magenta concrete or light blue concrete or yellow concrete or lime concrete or pink concrete or gray concrete or light gray concrete or cyan concrete or purple concrete or blue concrete or brown concrete or green concrete or red concrete or black concrete:
- if player is holding a stick named "&5Wand":
- cancel event
- if {timer::%player%} is 0:
- if {block::%player%} is 1:
- set event-block to white concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 2:
- set event-block to orange concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 3:
- set event-block to magenta concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 4:
- set event-block to light blue concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 5:
- set event-block to yellow concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 6:
- set event-block to lime concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 7:
- set event-block to pink concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 8:
- set event-block to gray concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 9:
- set event-block to light gray concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 10:
- set event-block to cyan concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 11:
- set event-block to purple concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 12:
- set event-block to blue concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 13:
- set event-block to brown concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 14:
- set event-block to green concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 15:
- set event-block to red concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else if {block::%player%} is 16:
- set event-block to black concrete
- set {timer::%player%} to {setter::%player%}
- add 1 to {semicoin::%player%}
- else:
- send player title "&4&lError" with subtitle "&6&l%{timer::%player%}% &6&lseconds left" for 1 second
- else:
- stop
- command /setblock [<integer>]:
- permission: *
- trigger:
- set {block::%player%} to arg 1
- every second:
- loop all players:
- if {timer::%loop-player%} > 0:
- subtract 1 from {timer::%loop-player%}
- else:
- stop
- if {semicoin::%loop-player%} = 25:
- add 1 to {coin::%loop-player%}
- subtract 25 from {semicoin::%loop-player%}
- send "&aYou have gained 1 Coin!" to loop-player
- command /reset [<offlineplayer>]:
- permission: *
- trigger:
- set {timer::%arg 1%} to 0
- set {setter::%arg 1%} to 30
- on right click holding a stick:
- open virtual chest inventory with size 5 named "&6&lBlock Chooser" to player
- format gui slot 10 of player with white concrete with lore "&6Sets the block you click to White Concrete" and "%{colorlock1::%player%}%" to close:
- if {colorlock::%player%} is "&clocked":
- send player title "&4&lError" with subtitle "&c&lThat Color is Locked" for 2 seconds
- else:
- set {block::%player%} to 1
- format gui slot 11 of player with orange concrete with lore "&6Sets the block you click to Orange Concrete" and "%{colorlock2::%player%}%" to close:
- set {block::%player%} to 2
- format gui slot 12 of player with magenta concrete with lore "&6Sets the block you click to Magenta Concrete" and "%{colorlock3::%player%}%" to close:
- set {block::%player%} to 3
- format gui slot 13 of player with light blue concrete with lore "&6Sets the block you click to Light Blue Concrete" and "%{colorlock4::%player%}%" to close:
- set {block::%player%} to 4
- format gui slot 14 of player with yellow concrete with lore "&6Sets the block you click to Yellow Concrete" and "%{colorlock5::%player%}%" to close:
- set {block::%player%} to 5
- format gui slot 15 of player with lime concrete with lore "&6Sets the block you click to Lime Concrete" and "%{colorlock6::%player%}%" to close:
- set {block::%player%} to 6
- format gui slot 16 of player with pink concrete with lore "&6Sets the block you click to Pink Concrete" and "%{colorlock7::%player%}%" to close:
- set {block::%player%} to 7
- format gui slot 19 of player with gray concrete with lore "&6Sets the block you click to Gray Concrete" and "%{colorlock8::%player%}%" to close:
- set {block::%player%} to 8
- format gui slot 20 of player with light gray concrete with lore "&6Sets the block you click to Light Gray Concrete" and "%{colorlock9::%player%}%" to close:
- set {block::%player%} to 9
- format gui slot 21 of player with cyan concrete with lore "&6Sets the block you click to Cyan Concrete" and "%{colorlock10::%player%}%" to close:
- set {block::%player%} to 10
- format gui slot 22 of player with purple concrete with lore "&6Sets the block you click to Purple Concrete" and "%{colorlock11::%player%}%" to close:
- set {block::%player%} to 11
- format gui slot 23 of player with blue concrete with lore "&6Sets the block you click to Blue Concrete" and "%{colorlock12::%player%}%" to close:
- set {block::%player%} to 12
- format gui slot 24 of player with brown concrete with lore "&6Sets the block you click to Brown Concrete" and "%{colorlock13::%player%}%" to close:
- set {block::%player%} to 13
- format gui slot 25 of player with green concrete with lore "&6Sets the block you click to Green Concrete" and "%{colorlock14::%player%}%" to close:
- set {block::%player%} to 14
- format gui slot 30 of player with red concrete with lore "&6Sets the block you click to Red Concrete" and "%{colorlock15::%player%}%" to close:
- set {block::%player%} to 15
- format gui slot 32 of player with black concrete with lore "&6Sets the block you click to Black Concrete" and "%{colorlock16::%player%}%" to close:
- set {block::%player%} to 16
- command /setcolorlock [<integer>] [<offlineplayer>] <text>:
- trigger:
- if arg 1 is 1:
- if arg 3 is "locked":
- set {colorlock1::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock1::%arg 2%} to "&aUnlocked"
- else if arg 1 is 2:
- if arg 3 is "locked":
- set {colorlock2::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock2::%arg 2%} to "&aUnlocked"
- else if arg 1 is 3:
- if arg 3 is "locked":
- set {colorlock3::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock3::%arg 2%} to "&aUnlocked"
- else if arg 1 is 4:
- if arg 3 is "locked":
- set {colorlock4::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock4::%arg 2%} to "&aUnlocked"
- else if arg 1 is 5:
- if arg 3 is "locked":
- set {colorlock5::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock5::%arg 2%} to "&aUnlocked"
- else if arg 1 is 6:
- if arg 3 is "locked":
- set {colorlock6::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock6::%arg 2%} to "&aUnlocked"
- else if arg 1 is 7:
- if arg 3 is "locked":
- set {colorlock7::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock7::%arg 2%} to "&aUnlocked"
- else if arg 1 is 8:
- if arg 3 is "locked":
- set {colorlock8::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock8::%arg 2%} to "&aUnlocked"
- else if arg 1 is 9:
- if arg 3 is "locked":
- set {colorlock9::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock9::%arg 2%} to "&aUnlocked"
- else if arg 1 is 10:
- if arg 3 is "locked":
- set {colorlock10::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock10::%arg 2%} to "&aUnlocked"
- else if arg 1 is 11:
- if arg 3 is "locked":
- set {colorlock11::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock12::%arg 2%} to "&aUnlocked"
- else if arg 1 is 12:
- if arg 3 is "locked":
- set {colorlock12::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock12::%arg 2%} to "&aUnlocked"
- else if arg 1 is 13:
- if arg 3 is "locked":
- set {colorlock13::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock13::%arg 2%} to "&aUnlocked"
- else if arg 1 is 14:
- if arg 3 is "locked":
- set {colorlock14::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock14::%arg 2%} to "&aUnlocked"
- else if arg 1 is 15:
- if arg 3 is "locked":
- set {colorlock15::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock15::%arg 2%} to "&aUnlocked"
- else if arg 1 is 16:
- if arg 3 is "locked":
- set {colorlock16::%arg 2%} to "&cLocked"
- else if arg 3 is "Unlocked":
- set {colorlock16::%arg 2%} to "&aUnlocked"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement