@name 
@inputs 
@outputs Paste
@persist H:entity
@trigger 

if(first()){
    Paste=0
E = entity()
H = entity():isWeldedTo()
timer("loop",5000)
}
if(clk("loop")){
    H:setAng(ang(randint(0,100),randint(0,100),randint(0,100)))
Paste = 1
timer("reset",100)
timer("loop",5000)}

if(clk("reset")){
Paste=0}
