Guest User

Untitled

a guest
Dec 25th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. #=========================================#
  2. # Information GUI #
  3. #-----------------------------------------#
  4.  
  5.  
  6. #Temp
  7. command /infobook2:
  8. trigger:
  9. send "&cKommer snart..."
  10.  
  11. #Indstillinger
  12. options:
  13. prefix: &a&lInfo: &c
  14.  
  15. #GUI setup
  16. command /infobook:
  17. executable by: players
  18. trigger:
  19. wait 2 ticks
  20. open chest with 5 row named "&2&l&nInformation" to player
  21. wait 3 ticks
  22. set {_s} to 0
  23. set {Info.%player%.lastused} to now
  24. loop 45 times:
  25. set slot {_s} of player's current inventory to GRAY GLASS named "&c&lIndlæser..." with lore "&c&l&oVent venligst..."
  26. wait 0.03 seconds
  27. add 1 to {_s}
  28. format slot 21 of player with book named "&c&lIndlæser" to close then run [send "{@prefix} &c&l&oVent venligst..."]
  29. format slot 23 of player with book named "&c&lIndlæser" to close then run [send "{@prefix} &c&l&oVent venligst..."]
  30. wait 1 second
  31. format slot 21 of player with paper named "&2&lMap-Byggere" to close then run [execute player command "/MapBuilders"]
  32. format slot 23 of player with paper named "&2&lGenerel &nInformation" to run [execute player command "/GI"]
  33. wait 1 second
  34. set {_s} to 0
  35. loop 45 times:
  36. set slot {_s} of player's current inventory to GREEN GLASS named "&f&lIndlæst"
  37. wait 0.03 seconds
  38. add 1 to {_s}
  39. format slot 21 of player with paper named "&2&lMap-Byggere" to run [execute player command "/MapBuilders"]
  40. format slot 23 of player with paper named "&2&lGenerel &nInformation" to run [execute player command "/GI"]
  41.  
  42.  
  43. on inventory click:
  44. if inventory name of player's current inventory is "&2&l&nInformation":
  45. cancel event
Advertisement
Add Comment
Please, Sign In to add comment