Paste #102309: Unnamed Denizen Script Paste

Date: 2022/10/16 05:02:28 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


sysDeath:
    type: world
    debug: true
    events:
        on player dies:
            - determine cancelled passively
            - debug record start
            - if <player.flag[lifes]> != 1:
                - teleport <player> <player.bed_spawn.if_null[<player.spawn_location>]>
                - wait 4t
                - flag player dead expire:15s
                - flag player lifes:--
                - kick <player>
            - else if <player.flag[lifes]> == 1:
                - teleport <player> ad
                - burn <player> duration:0
                - narrate dead
                - ~debug record submit save:mylog
                - narrate <entry[mylog].submitted>