@name Target Finder
@inputs 
@outputs 
@persist Player:entity
@trigger 

runOnTick(1)
S = owner():lastSaid():explode(" ")

if(first()){
    hint("/target (name)",5)
    hint("Made by Mailman02",5)
holoCreate(1)
}
hideChat(chatClk(owner()))



S = owner():lastSaid():explode(" ")

if (S:string(1)=="/t"){
     hideChat(1)

TempPlayer = findPlayerByName(S:string(2))
if (TempPlayer:isPlayer()){
Player = TempPlayer

}
}



if (duped()) {selfDestruct()}

if (S:string(1)=="Clear"){
    holoDelete(1)
    hideChat(1)
  
}

if (S:string(1)=="Create"){
    holoCreate(1)
    hideChat(1)
   
}

holoPos(1, Player:pos() + vec(0,0,100))
holoColor(1, vec(29,0,255))
holoScale(1, vec(50
))








