Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=========================================#
- # Information GUI #
- #-----------------------------------------#
- #Temp
- command /infobook2:
- trigger:
- send "&cKommer snart..."
- #Indstillinger
- options:
- prefix: &a&lInfo: &c
- #GUI setup
- command /infobook:
- executable by: players
- trigger:
- wait 2 ticks
- open chest with 5 row named "&2&l&nInformation" to player
- wait 3 ticks
- set {_s} to 0
- set {Info.%player%.lastused} to now
- loop 45 times:
- set slot {_s} of player's current inventory to GRAY GLASS named "&c&lIndlæser..." with lore "&c&l&oVent venligst..."
- wait 0.03 seconds
- add 1 to {_s}
- format slot 21 of player with book named "&c&lIndlæser" to close then run [send "{@prefix} &c&l&oVent venligst..."]
- format slot 23 of player with book named "&c&lIndlæser" to close then run [send "{@prefix} &c&l&oVent venligst..."]
- wait 1 second
- format slot 21 of player with paper named "&2&lMap-Byggere" to close then run [execute player command "/MapBuilders"]
- format slot 23 of player with paper named "&2&lGenerel &nInformation" to run [execute player command "/GI"]
- wait 1 second
- set {_s} to 0
- loop 45 times:
- set slot {_s} of player's current inventory to GREEN GLASS named "&f&lIndlæst"
- wait 0.03 seconds
- add 1 to {_s}
- format slot 21 of player with paper named "&2&lMap-Byggere" to run [execute player command "/MapBuilders"]
- format slot 23 of player with paper named "&2&lGenerel &nInformation" to run [execute player command "/GI"]
- on inventory click:
- if inventory name of player's current inventory is "&2&l&nInformation":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment