@name That One Alarm
#[
Made By Nomadx
]#
@inputs Ranger:entity
@outputs Length
@persist Alert
@trigger 
if(first()){
Length=200
}

if(Ranger:isPlayer()&&!Ranger:owner())
{print(""+Ranger:name()+"")
    Alert=1 timer("click",5000)}
    
if(clk("click"))
{Alert=0}

if(Alert==1)
{owner():soundPlay(randint(1,30), 8, "/ambient/alarms/klaxon1.wav")
    print(_HUD_PRINTCENTER,"You are being raided!")
    print(Ranger:getWeapons())}

