How to make a speed trap for advanced vehicle pack with a trigger box

So im trying to make a speed trap with a trigger box for the advanced vehicle so when it goes in the trigger box it changes the vehicles max speed and the vehicle goes slower but when it leaves it goes back to its regular speed

Don’t know about the advanced vehicle in particular BUT the logic is simple enough. On overlap of the trigger box, cast to your vehicle, grab its max speed or current speed or whatever variable is controlling the speed the vehicle is moving at with it’s movement component, set the value to whatever number you want. Then on end overlap do the same thing except this time increase the value of that variable back to its original state.