Converted to QBCore and tested out by me. If there is any problem just let me know. Script is fully open source and tested out.