How to check for a certain vehicle speed in unity

I’m trying to get a animation blend tree working for a unturned vehicle but for it to work i need to some how get that certain vehicles speed, i’v currently tried

but i’v realised unturned does not run other scripts.