Guest User

Untitled

a guest
Dec 14th, 2019
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick on entity:
  2. if clicked entity's name is "&7&lKlucznik":
  3. open chest with 1 row named "&7&lKlucznik" to player
  4. set player's current inventory's slot 3 to {_i1}
  5. set {_i1} to tripwire hook named "&E&lZwykly &C&LKlucz"
  6. set 1nd line of lore of {_i1} to "&7Specjalny Klucz"
  7. set 2nd line of lore of {_i1} to "&7do specjalnej skrzyni"
  8. set 3nd line of lore of {_i1} to ""
  9. set 4nd line of lore of {_i1} to "&a&lCena: 100$"
  10. set player's current inventory's slot 4 to {_i2}
  11. set {_i2} to tripwire hook named "&E&lLegendarny &C&LKlucz"
  12. set 1nd line of lore of {_i2} to "&7Specjalny Klucz"
  13. set 2nd line of lore of {_i2} to "&7do specjalnej skrzyni"
  14. set 3nd line of lore of {_i2} to ""
  15. set 4nd line of lore of {_i2} to "&a&lCena: 1000$"
  16. set player's current inventory's slot 5 to {_i3}
  17. set {_i3} to tripwire hook named "&E&lBoski &C&LKlucz"
  18. set 1nd line of lore of {_i3} to "&7Specjalny Klucz"
  19. set 2nd line of lore of {_i3} to "&7do specjalnej skrzyni"
  20. set 3nd line of lore of {_i3} to ""
  21. set 4nd line of lore of {_i3} to "&a&lCena: 10000$"
  22. on inventory click:
  23. if inventory name of player's current inventory is "&7&lKlucznik":
  24. cancel event
  25. wait 1 tick
  26. if clicked slot is 3:
  27. add 1 tripwire hook named "&E&lZwykly &C&LKlucz" to player
  28. remove 100 from player's balance
  29. if clicked slot is 4:
  30. add 1 tripwire hook named "&E&lLegendarny &C&LKlucz" to player
  31. remove 1000 from player's balance
  32. if clicked slot is 5:
  33. add 1 tripwire hook named "&E&lBoski &C&LKlucz" to player
  34. remove 10000 from player's balance
RAW Paste Data