Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {diamenty.%player%} = 0
- {zloto.%player%} = 0
- {zelazo.%player%} = 0
- #options:
- #tag: &8[&6Skript&aDrop*8]
- command /kamien [<text>]:
- trigger:
- if arg 1 is not set:
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- send "&5>> &8/kamien statystyki &r- &6Pokazuje wykopane surowce."
- send "&5>> &8/kamien drop &r- &6Pokazuje drop ze stone."
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- if arg 1 is "drop":
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- send "&bDiament : &82%"
- send "&6Zloto : &83%"
- send "Zelazo : &85%"
- send "&eSkrzynia : &83%"
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- if arg 1 is "statystyki":
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- send "&bDiament : &8%{diamenty.%player%}%"
- send "&6Zloto : &8%{zloto.%player%}%"
- send "Zelazo : &8%{zelazo.%player%}%"
- send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
- on mine of stone:
- if chance of 2%:
- drop diamond
- add 1 to {diamenty.%player%}
- send "&aZnalazles&5 >> &bDiament &r[&8+1&r]"
- if chance of 5%:
- drop iron ore
- add 1 to {zelazo.%player%}
- send "&aZnalazles&5 >> &fZelazo &r[&8+1&r]"
- if chance of 3%:
- drop gold ore
- add 1 to {zloto.%player%}
- send "&aZnalazles&5 >> &6Zloto &r[&8+1&r]"
- on place of chest:
- if player has permissions "op.op":
- set block to chest
- else:
- cancel event
- send "&cNie mozez tego klasc"
- on mine of stone:
- if chance of 3%:
- set block to chest
- execute console command "/playsound random.successful_hit %player%"
- on rightclick on chest:
- set block to air
- execute console command "/playsound random.successful_hit %player%"
- if chance of 50%:
- give diamond pickaxe to the player
- if chance of 80%:
- give ender pearl to the player
- if chance of 69%:
- give 8 wood to the player
- if chance of 40%:
- give 16 arrow to the player
- if chance of 70%:
- give bow to the player
Advertisement
Add Comment
Please, Sign In to add comment