options: KOMPAS: &8● &c&lWYBIERZ TRYB GRY &8● GADŻETY: &8● &9&lGADŻETY &8● on right click: if event-world is "hub": if name of event-item is "{@KOMPAS}": set {_slot} to 0 open virtual chest inventory with size 5 named "&7&lWYBIERZ TRYB GRY" to player wait 1 ticks loop 45 times: make a gui slot {_slot} of player with black glass pane named "&7 " with lore "&7" to do nothing add 1 to {_slot} make a gui slot 3 of player with diamond_sword named "&8● &c&lSURVIVAL &8●" with lore "&7" to run: open virtual chest inventory with size 3 named "&7&lDOLACZ DO" to player wait 1 ticks make a gui slot 11 of player with green clay named "&8● &a&lMapa1 &8●" with lore "&7" to run function send_player_to(player, "world") make a gui slot 15 of player with red clay named "&8● &a&lMapa2 &8●" with lore "&7" to run function send_player_to(player, "w2") make a gui slot 5 of player with feather named "&8● &c&lSkyBlock &8●" with lore "&7" to run function send_player_to(player, "skyblock") if name of event-item is "{@GADŻETY}": make player execute command "uc menu main" function hub(p: player): make console execute command "mvtp %{_p}% hub" set slot 0 of {_p} to compass named "{@KOMPAS}" set slot 8 of {_p} to enderchest named "{@GADŻETY}" wait 1 seconds if {_p}'s world is "hub": heal {_p}