Advertisement
Guest User

Untitled

a guest
Mar 13th, 2022
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. every 0.01 seconds:
  2. loop all players:
  3. if slot 8 of loop-player's inventory is not nether star:
  4. if loop-player's inventory contains nether star named "&aSkyBlock Menu &7(Right Click)" with lore "&7View all of your SkyBlock" and "&7progress, including your Skills," and "&7Collections, Recipes, and more!" and "" and "&eClick to open!":
  5. remove 1 nether star from loop-player's inventory
  6. set slot 8 of loop-player's inventory to nether star named "&aSkyBlock Menu &7(Right Click)" with lore "&7View all of your SkyBlock" and "&7progress, including your Skills," and "&7Collections, Recipes, and more!" and "" and "&eClick to open!"
  7.  
  8. on right click:
  9. if player's tool is nether star:
  10. if uncolored name of player's tool is "SkyBlock Menu (Right Click)":
  11. open chest inventory with 6 rows named "SkyBlock Menu" to player
  12. set slot 0 of player's current inventory to gray stained glass pane named " "
  13. set slot 1 of player's current inventory to gray stained glass pane named " "
  14. set slot 2 of player's current inventory to gray stained glass pane named " "
  15. set slot 3 of player's current inventory to gray stained glass pane named " "
  16. set slot 4 of player's current inventory to gray stained glass pane named " "
  17. set slot 5 of player's current inventory to gray stained glass pane named " "
  18. set slot 6 of player's current inventory to gray stained glass pane named " "
  19. set slot 7 of player's current inventory to gray stained glass pane named " "
  20. set slot 8 of player's current inventory to gray stained glass pane named " "
  21. set slot 9 of player's current inventory to gray stained glass pane named " "
  22. set slot 10 of player's current inventory to gray stained glass pane named " "
  23. set slot 11 of player's current inventory to gray stained glass pane named " "
  24. set slot 12 of player's current inventory to gray stained glass pane named " "
  25. set {playerhead} to a player head
  26. add "{SkullOwner:%player%}" to nbt of {playerhead}
  27. set slot 13 of player's current inventory to {playerhead} named "&aYour SkyBlock Profile"
  28.  
  29. on inventory click:
  30. if name of event-inventory is "SkyBlock Menu":
  31. if index of event-slot is 13:
  32. send "test" to player
  33. else:
  34. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement