Guest User

Untitled

a guest
Aug 25th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. options:
  2. zwyklas: glowing light gray dye named "&7&lZwykła Skamielina" with lore "&8&m------------------------" and " &8&l» &eSkamielinę wymienisz lub" and " &8&l» &esprzedasz na warpach:" and " &8&l» &6&l/warp kowal" and " &8&l» &6&l/warp archeolog" and "&8&m------------------------"
  3. rzadkas: glowing cyan dye named "&3&lRzadka Skamielina" with lore "&8&m------------------------" and " &8&l» &eSkamielinę wymienisz lub" and " &8&l» &esprzedasz na warpach:" and " &8&l» &6&l/warp kowal" and " &8&l» &6&l/warp archeolog" and "&8&m------------------------"
  4. epickas: glowing purple dye named "&5&lEpicka Skamielina" with lore "&8&m------------------------" and " &8&l» &eSkamielinę wymienisz lub" and " &8&l» &esprzedasz na warpach:" and " &8&l» &6&l/warp kowal" and " &8&l» &6&l/warp archeolog" and "&8&m------------------------"
  5. legendarnas: glowing orange dye named "&6&lLegendarna Skamielina" with lore "&8&m------------------------" and " &8&l» &eSkamielinę wymienisz lub" and " &8&l» &esprzedasz na warpach:" and " &8&l» &6&l/warp kowal" and " &8&l» &6&l/warp archeolog" and "&8&m------------------------"
  6.  
  7. on inventory click:
  8. if name of player's current inventory is "&2&lArcheolog":
  9. if clicked slot is 40:
  10. cancel event
  11. set {_sell} to false
  12. if amount of {@zwyklas} in player's current inventory > 0:
  13. set {_amount} to amount of {@zwyklas} in player's current inventory
  14. remove {_amount} of {@zwyklas} from player's current inventory
  15. add {_amount}*70 to player's balance
  16. set {_sell} to true
  17. if amount of {@rzadkas} in player's current inventory > 0:
  18. set {_amount2} to amount of {@rzadkas} in player's current inventory
  19. remove {_amount2} of {@rzadkas} from player's current inventory
  20. add {_amount2}*140 to player's balance
  21. set {_sell} to true
  22. if amount of {@epickas} in player's current inventory > 0:
  23. set {_amount3} to amount of {@epickas} in player's current inventory
  24. remove {_amount3} of {@epickas} from player's current inventory
  25. add {_amount3}*300 to player's balance
  26. set {_sell} to true
  27. if amount of {@legendarnas} in player's current inventory > 0:
  28. set {_amount4} to amount of {@legendarnas} in player's current inventory
  29. remove {_amount4} of {@legendarnas} from player's current inventory
  30. add {_amount4}*700 to player's balance
  31. set {_sell} to true
  32. if {_sell} is true:
  33. send "&8&m--------------------------------------" and "&r" and " &8» &7Zwykła: %{_amount}% &a(+%{_amount}*70%&a$)" and " &8» &3Rzadka: %{_amount2}% &a(+%{_amount2}*140%&a$)" and " &8» &5Epicka: %{_amount3}% &a(+%{_amount3}*300%&a$)" and " &8» &6Legendarna: %{_amount4}% &a(+%{_amount4}*700%&a$)" and "&r" and " &a&l ZAROBIŁEŚ: &a&l%({_amount}*70)+({_amount2}*140)+({_amount3}*300)+({_amount4}*700)% &a&lMONET!" and "&r" and "&8&m--------------------------------------" to player
  34. else:
  35. send "&6&lS&e&lA &8» &cNie sprzedałeś żadnej skamieliny" to player
  36. if clicked slot is 36 or 37 or 38 or 39 or 41 or 42 or 43 or 44:
  37. cancel event
Advertisement
Add Comment
Please, Sign In to add comment