QBCore = {} QBCore.Config = QBConfig QBCore.Shared = QBShared QBCore.ClientCallbacks = {} QBCore.Key = math.random(1,999)..math.random(20,500).."KEY"..math.random(1,1000).."TGIANN" QBCore.CKey = "TGIANN"..math.random(1,999)..math.random(20,500).."CKEY"..math.random(1,1000) QBCore.ServerCallbacks = {} exports('GetCoreObject', function() return QBCore end) function GetCoreObject() return QBCore end RegisterServerEvent('QBCore:GetObject') AddEventHandler('QBCore:GetObject', function(cb) cb(GetCoreObject()) end) -- To use this export in a script instead of manifest method -- Just put this line of code below at the very top of the script -- local QBCore = exports['qb-core']:GetCoreObject()