Here is all the exports for the script that you can incorporate into your own scripts
-- Clientexports['Renewed-Vehiclekeys']:hasKey(plate) -- Returns true/false if player has keysexports['Renewed-Vehiclekeys']:addKey(plate) -- Adds a key to the specified playerexports['Renewed-Vehiclekeys']:removeKey(plate) -- Removes the key from a player-- Server-- Removes the key from a playerexports['Renewed-Vehiclekeys']:removeKey(source, plate)-- returns true/false if the player has the keyexports['Renewed-Vehiclekeys']:hasKey(source, plate)-- Adds a key to the specified playerexports['Renewed-Vehiclekeys']:addKey(source, plate)-- statebag-- Sets the vehicle locked or unlockedEntity(entity).state:set('vehicleLock', { lock =1-- 1 | unlocked | 2 locked sound =true-- true | false}, true)