Paste #22052: Random night

Date: 2015/10/31 19:23:43 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Steps:
        1:
            Click Trigger:
                Script:
                - chat "Hey, nice Costume <player.name>! Will you get a trick or a treat?"
                - If <world.time.period> == 'night'{
                        -random:
                        - give 11 QTY:1
                        - give red_flower QTY:3}
                        - give diamond QTY:2
                        - give 384 QTY:3
                        - give skull QTY:1
                        - burn <player> duration:5s
                        - strike <player>
                        - cast jump <player>
                        - cast poison <player>
                        - teleport <player> <spawn>
                        - give 421 QTY:1
                        - give 2262 QTY:1
                        - give 2264 QTY:1
                        - give 2258 QTY:1
                        - give 382 QTY:3
                        - give 378 QTY:3
                        - give 347 QTY:1
                        - give 329 QTY:1
                        - give 322:1 QTY:1
                        - cast speed <player>
                        - cast slowness <player>
                        - cast nausea <player>
                        - cast invisibility <player>
                        - cast hunger <player>
                        - cast Wither <player>
                    -cooldown 10m}