Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- #Door key script
- #
- #Author FlexxyYT
- command /key:
- trigger:
- give 1 tripwire hook with lore "&7hereby you can open doors" named "&6&lKey" to player
- wait 3 ticks
- stop trigger
- on rightclick on iron door:
- if player is holding a tripwire hook with lore "&7hereby you can open doors" named "&6&lKey":
- toggle event-block
- if player is not holding a tripwire hook with lore "&7hereby you can open doors" named "&6&lKey":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement