Paste #3576: play custom music

Date: 2014/04/18 19:45:48 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


'entity hell1 command':
  type: world
  events:  

    on hell1 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay duration:236s
        - playsound <player> sound:NOTE_BASS volume:1000.0
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>Symulator Kozy #1"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell2 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay2 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>Symulator Kozy #2"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell3 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay3 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - announce "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell4 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay4 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - announce "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell5 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay5 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - announce "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell6 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay6 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - announce "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }

    on hell7 command:  
      - if !<player.flag[hellDelay]> && !<player.flag[hellDelay2]> && !<player.flag[hellDelay3]> && !<player.flag[hellDelay4]> && !<player.flag[hellDelay5]> && !<player.flag[hellDelay6]> && !<player.flag[hellDelay7]> {
        - flag hellDelay7 duration:218s
        - playsound <player> sound:NOTE_BASS_GUITAR volume:1000.0
        - announce "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Odtwarzam<&co> <&a>"
        - determine fulfilled
        } else {
        - narrate "<&e><&l><&lb><&6>MineFox-Muza<&e><&l><&rb> <&e>Przykro mi, ale zanim wlaczysz kolejna piosenke, aktualna musi sie skonczyc!"
        - determine fulfilled
        }