Im trying to make a key for a door but its not working it says i made it correctly
command /key2:
trigger:
give 1 tripwire hook with lore "&7House Key2" named "&6&lKey2" to player
wait 3 ticks
stop trigger
on rightclick on iron door:
if player is holding a tripwire hook with lore "&7House Key2" named "&6&lKey2":
if location of clicked block is location -691, 94, -400 in world "world":
toggle event-block
if player is not holding a tripwire hook with lore "&7House Key2" named "&6&lKey2":
cancel event
command /key2:
trigger:
give 1 tripwire hook with lore "&7House Key2" named "&6&lKey2" to player
wait 3 ticks
stop trigger
on rightclick on iron door:
if player is holding a tripwire hook with lore "&7House Key2" named "&6&lKey2":
if location of clicked block is location -691, 94, -400 in world "world":
toggle event-block
if player is not holding a tripwire hook with lore "&7House Key2" named "&6&lKey2":
cancel event
Last edited: