Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. variables:
  2. {dyniaszansa} = false
  3. on break:
  4. chance of 10%:
  5. spawn 1 bat at target block
  6. set the spawned bat's display name to "Boo"
  7. wait 2 seconds
  8. loop all entities in radius 50 around player:
  9. if loop-entity's name is "Boo":
  10. delete loop-entity
  11. if {dyniaszansa} is false:
  12. chance of 0.05%:
  13. give 1 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" to the player
  14. show 20 "flame" particles at location of target block for player offset by 0.5, 0.5, 0.5
  15. send "&8[&4Boo&8] &7Znalazles Dynie Eventowa!"
  16. loop all players:
  17. if group of loop-player is "wlasciciel" or "moderator" or "admin":
  18. send "&8[&cBoo&8]&7Gracz %player% znalazl dynie" to loop-player
  19. if {dyniaszansa} is true:
  20. chance of 0.7%:
  21. drop 1 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019"
  22. show 20 "flame" particles at location of target block for player offset by 0.5, 0.5, 0.5
  23. send "&8[&4Boo&8] &7Znalazles Dynie Eventowa!"
  24. command /wymienhallo:
  25. trigger:
  26. if player has 300 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019":
  27. give 1 276 of sharpness 5 and unbreaking 3 and fire aspect 2 and looting 5 named "&8[&cBoo&8] &3Miecz Grabiezcy" with lore "&c&lUnikatowy miecz, dostepny podczas halloween 2019" to the player
  28. remove 300 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" from the player
  29. send "&8[&4Boo&8] &c&lGracz &6&l%player% &c&lwymienil eventowe dynie na &6&lHalloween'owy MIECZ!" to all players
  30. send player title "&c&lZdobyles nagrode!" with subtitle "&6&lMiecz Grabiezcy!" for 3 seconds
  31. show 100 villager happy particles at location of player offset by 0.8, 1.0, 0.8
  32. add "%player% - %now%" to yaml list "Zdobyli" from file "plugins/Skript/mieczhallo_lista.yml"
  33. else:
  34. set {_ilosc} to amount of pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" in player's inventory
  35. send "&8[&4Boo&8] &4Nie masz 300 dyn event'owych! Obcenie posiadasz &7%{_ilosc}%&4/&7300"
  36. every 3 hours:
  37. set {dyniaszansa} to true
  38. send "&8[&4Boo&8] &c&lUWAGA!!! &7&lNAWIEDZONO WSZYSTKIE BLOKI! SZANSA NA DROP &6&lEVENTOWEJ DYNI &7ZOSTALA &a&lZWIEKSZONA&7&l NA &a&l10 MINUT&7&l!" to all players
  39. wait 10 minutes
  40. set {dyniaszansa} to false
  41. send "&8[&4Boo&8] &c&lUWAGA!!! &7&lSZANSA NA DROP &6&lEVENTOWEJ DYNI &a&cMINĘŁA" to all players
  42. command /pokazczas:
  43. trigger:
  44. if {dyniaszansa} is true:
  45. send "&8[&4Boo&8] &a&lTRWA &cZWIEKSZONY DROP NA EVENTOWE DYNIE!" to the player
  46. if {dyniaszansa} is false:
  47. send "&8[&4Boo&8] &c&lBRAK &cZWIEKSZONEGO DROPU NA EVENTOWE DYNIE!" to the player
  48. command /dajdynie:
  49. permission: dyniahallo
  50. trigger:
  51. give 1 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement