Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 0.01 seconds:
- loop all players:
- if slot 8 of loop-player's inventory is not nether star:
- 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!":
- remove 1 nether star from loop-player's inventory
- 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!"
- on right click:
- if player's tool is nether star:
- if uncolored name of player's tool is "SkyBlock Menu (Right Click)":
- open chest inventory with 6 rows named "SkyBlock Menu" to player
- set slot 0 of player's current inventory to gray stained glass pane named " "
- set slot 1 of player's current inventory to gray stained glass pane named " "
- set slot 2 of player's current inventory to gray stained glass pane named " "
- set slot 3 of player's current inventory to gray stained glass pane named " "
- set slot 4 of player's current inventory to gray stained glass pane named " "
- set slot 5 of player's current inventory to gray stained glass pane named " "
- set slot 6 of player's current inventory to gray stained glass pane named " "
- set slot 7 of player's current inventory to gray stained glass pane named " "
- set slot 8 of player's current inventory to gray stained glass pane named " "
- set slot 9 of player's current inventory to gray stained glass pane named " "
- set slot 10 of player's current inventory to gray stained glass pane named " "
- set slot 11 of player's current inventory to gray stained glass pane named " "
- set slot 12 of player's current inventory to gray stained glass pane named " "
- set {playerhead} to a player head
- add "{SkullOwner:%player%}" to nbt of {playerhead}
- set slot 13 of player's current inventory to {playerhead} named "&aYour SkyBlock Profile"
- on inventory click:
- if name of event-inventory is "SkyBlock Menu":
- if index of event-slot is 13:
- send "test" to player
- else:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement