Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------|
- #Skript zrobiony |
- #Przez Knugi |
- #Zakaz |
- #Rozpowszechniania |
- #Bez zgody autora |
- #Edytowanie dozwolone |
- #Tylko uzycia miesa |
- #----------------------|
- variables:
- {uzycia.%player%} = 100
- (uzycia.vip.%player%} = 1000
- on craft of block of emerald:
- send "&6Jezeli masz 4 bloki emeraldow napisz '/kebab', jezeli jestes vipem to wpisz '/kebabvip'"
- command /kebab:
- permission: mieso.gracz
- permission message: Musisz byc graczem by uzyc tej komendy.
- trigger:
- if player have 4 block of emerald:
- remove block of emerald from player
- remove block of emerald from player
- remove block of emerald from player
- remove block of emerald from player
- give a steak named "&e&lKebab w skorupce" to the player
- send "&6Dostales &e&lKebaba w skorupce&6, masz 100 uzyc."
- else:
- send "&eNie posiadasz 4 blokow &2emeradldow"
- command /kebabvip:
- permission: mieso.vip
- permission message: Musisz byc vipem by uzyc tej komendy.
- trigger:
- if player have 4 block of emerald:
- if player have 1 block of diamond:
- remove block of emerald from player
- remove block of emerald from player
- remove block of emerald from player
- remove block of emerald from player
- remove block of diamond from player
- give a steak named "&e&lKebab w skorupce" to the player
- send "&6Dostales &e&lKebaba w skorupce&6, masz 1000 uzyc."
- else:
- send "&3Nie posiadasz bloku diamentu"
- else:
- send "&eNie posiadasz 4 blokow &2emeradldow"
- on consume of steak:
- if name of player's tool is "&e&lKebab w skorupce":
- if {uzycia.%player%} is larger than 0:
- heal the player
- send "&5Zjadles kebaba w skorupce"
- remove 1 from {uzycia.%player%}
- wait 1 second
- give a steak named "&e&lKebab w skorupce" to the player
- else:
- set {uzycia.%player%} to 100
- remove 1 steak named "&e&lKebab w skorupce" from player
- wait 1 second
- execute console command "give %player% 367 1"
- send "&4Zuzylo ci sie mieso, wiec masz zgnile mieso"
- on consume of steak:
- if name of player's tool is "&e&lKebab w skorupce":
- if {uzycia.%player%} is larger than 0:
- if player has permission "mieso.vip":
- heal the player
- set hunger bar to 10
- send "&5Zjadles kebaba w skorupce"
- remove 1 from {uzycia.%player%}
- wait 1 second
- give a steak named "&e&lKebab w skorupce" to the player
- else:
- set {uzycia.vip.%player%} to 1000
- remove 1 steak named "&e&lKebab w skorupce" from player
- wait 1 second
- execute console command "give %player% 367 1"
- send "&4Zuzylo ci sie mieso, wiec masz zgnile mieso"
- command /kebabautor:
- trigger:
- send "&2&lAutorem skryptu &7&lKebab&2&l jest Knugi"
Advertisement
Add Comment
Please, Sign In to add comment