Paste #46468: Untitled Paste

Date: 2018/01/23 19:19:21 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6


on player enters parkour_lobby_end:
    - if <player.has_flag[parkour_active]> {
      - narrate "<&9>[Parkour] <&b><player.name> has completed the <&9>Lobby Parkour<&b> course in <&9><server.current_time_millis.sub[<player.flag[parkour_lobby_timer_total]>].div[1000]><&b> seconds!" targets:<w@world_spawn.players>
      - if <player.flag[parkour_record]> > <server.current_time_millis.sub[<player.flag[parkour_lobby_timer_total]>].div[1000]> {
        - flag player <server.current_time_millis.sub[<player.flag[parkour_lobby_timer_total]>].div[1000]>
      }