Nice work, but why not just set two variables for mph and kph with the right values then assign booleans, if mph is true then use the mph value, if kph is true then do the same. Would be alot easier.
What’s the point of releasing this separarely? Can’t you just make a PR to the original of this is just an improved version? Especially considering the original was released very recently.
this script is not really remade, you changed one string and released it, there are still going to be issues with this code, and why for the love of god do you keep all of the elseif statements? just use a table.
Even though there is no license on the original, in the #development:releases section you should release unique resources. Changing variable values is not considered unique. Please make use of GitHub Pull Requests and better the original instead by posting improvements on the original topic.