Guest User

Fire Phantom 0.5

a guest
Dec 18th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.72 KB | None | 0 0
  1. #Wersja 0.5
  2. #Autor Kanafu
  3. #Nazwa Fire Phantom
  4. #Nowa wersja mojego starego skryptu na drop (to był mój 1 skrypt :d)
  5.  
  6. variables:
  7. diamond: 3%
  8. emeraldy: 2%
  9. zelazo: 5%
  10. zloto: 5%
  11. wegiel: 7%
  12.  
  13. commnad /drop:
  14.     trigger:
  15.         open chest with 1 rows named "&5&lDrop" to player
  16.         format slot 1 of player with 1 of diamond named "&bDiament" lore "&7Szansa: %{diamond}%" to close
  17.         format slot 2 of player with 1 of emerald named "&2emerald" lore "&7Szansa: %{emeraldy}%" to close
  18.         format slot 3 of player with 1 of iron ingot named "&fżelazo" lore "&7Szansa: %{zelazo}%" to close
  19.         format slot 4 of player with 1 of gold ingot named "&6Złoto" lore "&7Szansa: %{zloto}%" to close
  20.         format slot 5 of player with 1 of gold ingot named "&8Węgiel" lore "&7Szansa: %{wegiel}%" to close
  21.        
  22.        
  23.  
  24. #DROP
  25.  
  26. on break of stone:
  27.             chance of {diamond}:
  28.                 if player can hold 1 diamond:
  29.                     add 1 diamond to player
  30.                 else:
  31.                     drop 1 diamond
  32.             chance of {emeraldy}:
  33.                 if player can hold 1 emerald:
  34.                     add 1 emerald to player
  35.                 else:
  36.                     drop 1 emerald
  37.             chance of {zelazo}:
  38.                 if player can hold 1 iron ingot:
  39.                     add 1 iron ingot to player
  40.                 else:
  41.                     drop 1 iron ingot
  42.             chance of {zloto}:
  43.                 if player can hold 1 gold ingot:
  44.                     add 1 gold ingot to player
  45.                 else:
  46.                     drop 1 gold ingot
  47.             chance of {wegiel}:
  48.                 if player can hold 1 coal:
  49.                     add 1 coal to player
  50.                 else:
  51.                     drop 1 coal
Advertisement
Add Comment
Please, Sign In to add comment