on walk on netherrack:
wait 5 ticks
open virtual chest with 1 rows named "Winda" to player
wait 5 ticks
format gui slot 8 times of player with Lime Stained Glass Pane named " "
format gui slot 0 of player with Lime Stained Glass Pane named " "
add 1 and 3 and 5 and 7 to {_t::*}
loop {_t::*}:
format gui slot loop-value of player with Red Stained Glass Pane named "&6&l4" to close
on inventory click:
if inventory name of current inventory of player is "Winda":
cancel event
if clicked slot is 1:
set {loc1} to location at (-140, 63, 15) in world "world"
teleport player to {loc1}
if clicked slot is 3:
set {loc2} to location at (-140, 63, 25) in world "world"
teleport player to {loc2}
if clicked slot is 5:
set {loc3} to location at (-140, 63, 35) in world "world"
teleport player to {loc3}
if clicked slot is 7:
set {loc4} to location at (-140, 63, 45) in world "world"
teleport player to {loc4}
Koordynaty musisz sobie wpisać takie jakie Ci odpowiadają. Sprawdzałem i wszystko działa.
Wymagane dodatki TuSke i Skellet