Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- loop 5 times:
- set {buyed.%player%.prot%loop-number%} to false
- set {buyed.%player%.lhelmet} to true
- set {buyed.%player%.chelmet} to false
- set {buyed.%player%.ihelmet} to false
- set {buyed.%player%.dhelmet} to false
- set {buyed.%player%.lchest} to true
- set {buyed.%player%.cchest} to false
- set {buyed.%player%.ichest} to false
- set {buyed.%player%.dchest} to false
- set {buyed.%player%.lleg} to true
- set {buyed.%player%.cleg} to false
- set {buyed.%player%.ileg} to false
- set {buyed.%player%.dleg} to false
- set {buyed.%player%.lleg} to true
- set {buyed.%player%.cleg} to false
- set {buyed.%player%.ileg} to false
- set {buyed.%player%.dleg} to false
- command /kitbuy <text>:
- trigger:
- send "Ikke færdigt"
- command /test:
- trigger:
- open virtual chest inventory with size 5 named "Patrick" to player
- #Protection
- if {buyed.%player%.prot1} is false:
- format gui slot 0 of 403 with lore "Protection 1" to do nothing then run player command "kitbuy prot1" to player
- else:
- format gui slot 0 of 166 to do nothing to player
- if {buyed.%player%.prot2} is false:
- format gui slot 1 of player with 403 with lore "Protection 2" to do nothing then run player command "kitbuy prot2" to player
- else:
- format gui slot 1 of 166 to do nothing to player
- if {buyed.%player%.prot3} is false:
- format gui slot 2 of 403 with lore "Protection 3" to do nothing then run player command "kitbuy prot3" to player
- else:
- format gui slot 2 of 166 to do nothing to player
- if {buyed.%player%.prot4} is false:
- format gui slot 3 of 403 with lore "Protection 4" to do nothing then run player command "kitbuy prot4" to player
- else:
- format gui slot 3 of 166 to do nothing to player
- if {buyed.%player%.prot5} is false:
- format gui slot 4 of 403 with lore "Protection 5" to do nothing then run player command "kitbuy prot5" to player
- else:
- format gui slot 4 of 166 to do nothing to player
- #Helmet
- if {buyed.%player%.lhelmet} is false:
- format gui slot 9 of 298 to do nothing then run player command "kitbuy lhelmet" to player
- else:
- format gui slot 9 of 166 to do nothing to player
- if {buyed.%player%.chelmet} is false:
- format gui slot 10 of 302 to do nothing then run player command "kitbuy chelmet" to player
- else:
- format gui slot 10 of 166 to do nothing to player
- if {buyed.%player%.ihelmet} is false:
- format gui slot 11 of 306 to do nothing then run player command "kitbuy ihelmet" to player
- else:
- format gui slot 11 of 166 to do nothing to player
- if {buyed.%player%.dhelmet} is false:
- format gui slot 12 of 310 to do nothing then run player command "kitbuy dhelmet" to player
- else:
- format gui slot 12 of 166 to do nothing to player
- if {buyed.%player%.lchest} is false:
- format gui slot 18 of 299 to do nothing then run player command "kitbuy lchest" to player
- else:
- format gui slot 18 of 166 to do nothing to player
- if {buyed.%player%.cchest} is false:
- format gui slot 19 of 303 to do nothing then run player command "kitbuy cchest" to player
- else:
- format gui slot 19 of 166 to do nothing to player
- if {buyed.%player%.ichest} is false:
- format gui slot 20 of 307 to do nothing then run player command "kitbuy ichest" to player
- else:
- format gui slot 20 of 166 to do nothing to player
- if {buyed.%player%.dchest} is false:
- format gui slot 21 of 311 to do nothing then run player command "kitbuy dchest" to player
- else:
- format gui slot 21 of 166 to do nothing to player
- #leg
- if {buyed.%player%.lleg} is false:
- format gui slot 27 of 300 to do nothing then run player command "kitbuy lleg" to player
- else:
- format gui slot 27 of 166 to do nothing to player
- if {buyed.%player%.cleg} is false:
- format gui slot 28 of 304 to do nothing then run player command "kitbuy cleg" to player
- else:
- format gui slot 28 of 166 to do nothing to player
- if {buyed.%player%.ileg} is false:
- format gui slot 29 of 308 to do nothing then run player command "kitbuy ileg" to player
- else:
- format gui slot 29 of 166 to do nothing to player
- if {buyed.%player%.dleg} is false:
- format gui slot 30 of 312 to do nothing then run player command "kitbuy dleg" to player
- else:
- format gui slot 30 of 166 to do nothing to player
- #shoe
- if {buyed.%player%.lshoe} is false:
- format gui slot 28 of 300 to do nothing then run player command "kitbuy lshoe" to player
- else:
- format gui slot 28 of 166 to do nothing to player
- if {buyed.%player%.cshoe} is false:
- format gui slot 29 of 304 to do nothing then run player command "kitbuy cshoe" to player
- else:
- format gui slot 29 of 166 to do nothing to player
- if {buyed.%player%.ishoe} is false:
- format gui slot 30 of 308 to do nothing then run player command "kitbuy ishoe" to player
- else:
- format gui slot 30 of 166 to do nothing to player
- if {buyed.%player%.dshoe} is false:
- format gui slot 31 of 312 to do nothing then run player command "kitbuy dshoe" to player
- else:
- format gui slot 31 of 166 to do nothing to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement