@name Player Speedometer 2
@inputs 
@outputs YourSpeed Vel Data:array Enter:string
@persist 
if(first()){fileLoad("enter.txt") timer("10",10000)}
if(clk("10")){Enter=fileRead("enter.txt") print("ready")}
interval(250)
Vel = owner():vel():length()
YourSpeed = toUnit("mph", Vel)
if(Vel){
Data:pushNumber(Vel)

fileAppend("velocitydata.txt","Time: "+curtime()+" Velocity: "+Vel+Enter) 
}

