Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {dyniaszansa} = false
- on break:
- chance of 10%:
- spawn 1 bat at target block
- set the spawned bat's display name to "Boo"
- wait 2 seconds
- loop all entities in radius 50 around player:
- if loop-entity's name is "Boo":
- delete loop-entity
- if {dyniaszansa} is false:
- chance of 0.05%:
- give 1 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" to the player
- show 20 "flame" particles at location of target block for player offset by 0.5, 0.5, 0.5
- send "&8[&4Boo&8] &7Znalazles Dynie Eventowa!"
- loop all players:
- if group of loop-player is "wlasciciel" or "moderator" or "admin":
- send "&8[&cBoo&8]&7Gracz %player% znalazl dynie" to loop-player
- if {dyniaszansa} is true:
- chance of 0.7%:
- drop 1 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019"
- show 20 "flame" particles at location of target block for player offset by 0.5, 0.5, 0.5
- send "&8[&4Boo&8] &7Znalazles Dynie Eventowa!"
- command /wymienhallo:
- trigger:
- if player has 300 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019":
- 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
- remove 300 pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" from the player
- send "&8[&4Boo&8] &c&lGracz &6&l%player% &c&lwymienil eventowe dynie na &6&lHalloween'owy MIECZ!" to all players
- send player title "&c&lZdobyles nagrode!" with subtitle "&6&lMiecz Grabiezcy!" for 3 seconds
- show 100 villager happy particles at location of player offset by 0.8, 1.0, 0.8
- add "%player% - %now%" to yaml list "Zdobyli" from file "plugins/Skript/mieczhallo_lista.yml"
- else:
- set {_ilosc} to amount of pumpkin named "&8[&4Boo&8] &7Dynia Eventowa!" with lore "&3&lDostepna podczas Halloween 2019" in player's inventory
- send "&8[&4Boo&8] &4Nie masz 300 dyn event'owych! Obcenie posiadasz &7%{_ilosc}%&4/&7300"
- every 3 hours:
- set {dyniaszansa} to true
- 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
- wait 10 minutes
- set {dyniaszansa} to false
- send "&8[&4Boo&8] &c&lUWAGA!!! &7&lSZANSA NA DROP &6&lEVENTOWEJ DYNI &a&cMINĘŁA" to all players
- command /pokazczas:
- trigger:
- if {dyniaszansa} is true:
- send "&8[&4Boo&8] &a&lTRWA &cZWIEKSZONY DROP NA EVENTOWE DYNIE!" to the player
- if {dyniaszansa} is false:
- send "&8[&4Boo&8] &c&lBRAK &cZWIEKSZONEGO DROPU NA EVENTOWE DYNIE!" to the player
- command /dajdynie:
- permission: dyniahallo
- trigger:
- 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