Thanks to MrHusana909 to permitted me to use this component regardless to the vehicle speed idea

Credits to iMasterProX based from the addon CYBOX One Vehicle Addon which is outdated but the mechanic was working on latest version of Minecraft

Links to their addons:
https://mcpeaddons.com/cybox-one-vehicles-collection-addon/
https://mcpedl.com/husana909s-vehicles-addon/