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