Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on entity:
- if clicked entity's name is "&7&lKlucznik":
- open chest with 1 row named "&7&lKlucznik" to player
- set slot 3 of player's current inventory to {_i3}
- set {_i1} to tripwire hook named "&E&lZwykly &C&LKlucz"
- set 1nd line of lore of {_i1} to "&7Specjalny Klucz"
- set 2nd line of lore of {_i1} to "&7do specjalnej skrzyni"
- set 3nd line of lore of {_i1} to ""
- set 4nd line of lore of {_i1} to "&a&lCena: 100$"
- set {_i2} to tripwire hook named "&E&lLegendarny &C&LKlucz"
- set 1nd line of lore of {_i2} to "&7Specjalny Klucz"
- set 2nd line of lore of {_i2} to "&7do specjalnej skrzyni"
- set 3nd line of lore of {_i2} to ""
- set 4nd line of lore of {_i2} to "&a&lCena: 1000$"
- set {_i3} to tripwire hook named "&E&lBoski &C&LKlucz"
- set 1nd line of lore of {_i3} to "&7Specjalny Klucz"
- set 2nd line of lore of {_i3} to "&7do specjalnej skrzyni"
- set 3nd line of lore of {_i3} to ""
- set 4nd line of lore of {_i3} to "&a&lCena: 10000$"
- on inventory click:
- if inventory name of player's current inventory is "&7&lKlucznik":
- cancel event
- wait 1 tick
- if clicked slot is 3:
- add 1 tripwire hook named "&E&lZwykly &C&LKlucz" to player
- remove 100 from player's balance
- if clicked slot is 4:
- add 1 tripwire hook named "&E&lLegendarny &C&LKlucz" to player
- remove 1000 from player's balance
- if clicked slot is 5:
- add 1 tripwire hook named "&E&lBoski &C&LKlucz" to player
- remove 10000 from player's balance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement