Guest User

Untitled

a guest
Dec 5th, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. options:
  2. tag: &5&lPuszka Pandory
  3.  
  4.  
  5.  
  6. command /pandora [<text>]:
  7. trigger:
  8. if player has 1600 cobblestone:
  9. add 1 dragon egg named "&5&lPuszka Pandory" to player
  10. send "{@tag}&6Gratulacje&3zakupiles puszke pandory"
  11. remove 1600 cobblestone from the player
  12. if arg 1 is "komendy":
  13. send "&6{@tag}&7/pandora- po wpisaniu tej komendy jeżeli gracz ma 25 stacków cobblestone zabiera je i daje puszkę pandory"
  14. send "&6{@tag}&7/pandora autor- pow wpisaniu tej komendy pojawiaja sie autorzy skryptu"
  15. else:
  16. send "{@tag}<pink>Aby zakupic puszke pandory potrzebujesz &3(25 stackow cobbla)"
  17.  
  18. on rightclick on a dragon egg:
  19. set block to air
  20. play 3 of effect "hugeexplosion" with data 1 at the player
  21. loop 2 times:
  22. create a fake explosion
  23. broadcast "&3%player% &4otworzyl puszke pandory !"
  24.  
  25. set {los} to a random integer between 1 and 20
  26. {los} is 1:
  27. drop 10 diamond
  28. {los} is 2:
  29. drop 16 bookshelf
  30. {los} is 3:
  31. spawn 1 zombie at the player
  32. equip the last spawned entity with all diamond armour of protection 10
  33. set the last spawned entity's max health to 100
  34. {los} is 4:
  35. drop 32 emerald
  36. {los} is 5:
  37. drop 64 iron ingot
  38. {los} is 6:
  39. drop 128 coal
  40. {los} is 7:
  41. drop dragon egg named "&5&lPuszka Pandory"
  42. {los} is 14:
  43. make player execute command "/kick %player% Nagroda!"
  44. {los} is 15:
  45. apply absorption 100 to the player for 1740 seconds
  46. wait 10 seconds
  47. send "<pink>Jaja se robiłem :3"
  48. make player execute command "/effect %player% clear"
  49. drop 10 sponge
  50.  
  51.  
  52. on script load:
  53. register new shaped recipe for dragon egg named "&5&lPuszka Pandory" using sponge, sponge, sponge, sponge, diamond block, sponge, sponge, sponge, sponge
Advertisement
Add Comment
Please, Sign In to add comment