View difference between Paste ID: euGMhqZA and aC2a0DTA
SHOW: | | - or go back to the newest paste.
1-
command /autodropparty:
1+
command /pinata:
2
    permission: dp.epic
3
    trigger:
4-
        broadcast "<red><italic>ThePrisonServer <reset><gray>> <light red>Drop Party at spawn!"
4+
        set {pinata} to true
5-
        wait 3 seconds
5+
        spawn 1 sheep
6-
        broadcast "<red><italic>ThePrisonServer <reset><gray>> <light red>Drop Party at spawn!"
6+
        set {pinata} to false
7-
        wait 3 seconds
7+
        broadcast "<red><italic>ThePrisonServer <reset><gray>> <red>Pinata? Yeah! Pinatas!"
8-
        broadcast "<red><italic>ThePrisonServer <reset><gray>> <light red>Drop Party at spawn!"
8+
on spawn of a sheep:
9-
        wait 3 seconds
9+
    {pinata} is true:
10-
        broadcast "<red><italic>ThePrisonServer <reset><gray>> <light red>Drop Party at spawn!"
10+
        apply resistance 3 to entity for 999 days
11-
        loop 100 times:
11+
        apply regeneration 6 to entity for 999 days 
12-
            wait 0.5 seconds
12+
        apply slowness 7 to entity for 999 days
13-
            chance of 50%:
13+
        set {pinata1} to true
14-
                drop 1 diamond at {spawn}
14+
on death of a sheep:
15-
            chance of 25%:
15+
    {pinata1} is not true:
16-
                drop 1 emerald at {spawn}
16+
        stop trigger
17-
            chance of 10%:
17+
    set {pinata1} to false
18-
                drop 1 diamond block at {spawn}
18+
    set {_temp} to location of victim
19-
            chance of 5%:
19+
    loop 250 times:
20-
                drop 1 emerald block at {spawn}
20+
        wait 0.05 seconds
21-
            chance of 5%:
21+
        chance of 4%:
22-
                drop 10 steak at {Spawn}
22+
            drop a diamond block at {_temp}
23-
            chance of 25%:
23+
        chance of 2%:
24-
                drop 1 iron ingot at {spawn}
24+
            drop an emerald block at {_temp}
25-
command /setspawnsk:
25+
        chance of 20%:
26-
    permission: op
26+
            drop an iron ingot at {_temp}
27
        chance of 10%:
28-
        set {Spawn} to player's location
28+
            drop a diamond at {_temp}
29
        chance of 0.5%:
30
            drop a diamond sword of sharpness 2 at {_temp}
31
        chance of 10%:
32
            drop steak at {_temp}