If you take a taxi journey in Scotland with the intention of not paying you are committing fraud.
If you did intend to pay but get the destination and cannot provide payment, you do not get to just walk off. You need to arrange payment with the driver on mutually agreed terms.