@name Portal Radio 2
@inputs
@persist [O E]:entity
@model models/props/radio_reference.mdl

if(first()){
    O=owner()
    E=entity()
    Holosoundplay1=holoCreate(1)
    holoAlpha(1,(0))
    holoParent(1,entity())
    Holosoundplay2=holoCreate(2)
    holoAlpha(2,(0))
    holoParent(2,entity())
    Holosoundplay2=holoCreate(3)
    holoAlpha(3,(0))
    holoParent(3,entity())
    timer("finishedspawning",100)
}

if(clk("finishedspawning")){
    entity():soundPlay(1,108627,"ambient/music/looping_radio_mix.wav")
    Holosoundplay1:soundPlay(2,108627,"ambient/music/looping_radio_mix.wav")
    Holosoundplay2:soundPlay(3,108627,"ambient/music/looping_radio_mix.wav")
    Holosoundplay2:soundPlay(4,108627,"ambient/music/looping_radio_mix.wav")
}

if(duped()){
    concmd("say Made by Tomo742 and you cannot haz naughty duper")
    timer("selfdestruct",100)
}

if(clk("selfdestruct")){
    selfDestruct()
}

