Ai Check which direction bot is moving

Ok That made the bot move very slowly and i’m still not getting any values from current accel.
I’m implementing the function in my BTService (bot brain), could that be an issue?
screen cap of how i’m setting the variables: