Your script has a very serious bug:
whichever job the player has, if they press F6 it shows a notification saying they are not on duty as a taxi driver.
I searched through the entire code and couldn’t find any keybind that would cause it to be triggered by F6.
If you can check it — just set a job (e.g. miner) and press F6…