Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {lvl.%player%} = 1
- {pkt.%player%} = 0
- {cb.%player%} = true
- on script load:
- set {etl2} to 120
- set {etl3} to 240
- set {etl4} to 360
- set {etl5} to 480
- command /kamien [<text>]:
- trigger:
- if arg 1 is not set:
- send "&9Informacje o dropie itemow ze stone'a"
- send "&b======================================"
- send "&9Diament 0.75%% y(50)"
- command /pkt [<text>]:
- trigger:
- if arg 1 is not set:
- if {lvl.%player%} is 1:
- set {_send} to "%{etl2} - {pkt.%player%}%"
- if {lvl.%player%} is 2:
- set {_send} to "%{etl3} - {pkt.%player%}%"
- if {lvl.%player%} is 3:
- set {_send} to "%{etl4} - {pkt.%player%}%"
- if {lvl.%player%} is 4:
- set {_send} to "%{etl5} - {pkt.%player%}%"
- send "&9Aktulanie posiadasz &c%{pkt.%player%}% &9pkt czyli &c%{lvl.%player%}% &9poziom do nastepnego poziomu brakuje ci &c%{_send}%&9 pkt."
- on break of stone:
- chance of 50%:
- set {_pktdiamond} to random integer from 1 to 20
- give diamond to the player
- add {_pktdiamond} to {pkt.%player%}
- send "&6Wydobyles: &bDiament &f+%{_pktdiamond}% exp !"
- if {lvl.%player%} is 1:
- if {pkt.%player%} is larger than or equal to {etl2}:
- add 1 to {lvl.%player%}
- send "&9Awansowales na poziom &c%{lvl.%player%}%&9."
- stop
- if {lvl.%player%} is 2:
- if {pkt.%player%} is larger than or equal to {etl3}:
- add 1 to {lvl.%player%}
- send "&9Awansowales na poziom &c%{lvl.%player%}%&9."
- stop
- if {lvl.%player%} is 3:
- if {pkt.%player%} is larger than or equal to {etl4}:
- add 1 to {lvl.%player%}
- send "&9Awansowales na poziom &c%{lvl.%player%}%&9."
- stop
Advertisement
Add Comment
Please, Sign In to add comment