@name Attaching Test
@inputs Prop:entity 
@outputs 
@persist LetGo 
@trigger 
runOnTick(1)

E = entity()

if (first()) {
    holoCreate(1)
    LetGo = 0
}

rangerFilter(E)
rangerFilter(entity():isWeldedTo())
rangerHitWater(1)
rangerFilter(players())
Alti = rangerOffset(50000,entity():isWeldedTo():pos(),-E:up())

if (Alti:hit() & Alti:entity() == Prop) {LetGo = 0} else {LetGo = 1}

if (LetGo == 0) {holoPos(1,Alti:entity():pos())}
if (LetGo == 1) {holoPos(1,Alti:pos())}
