Change your GetPlayer Event for your Framework here.
functionFD.GetPlayer(source)local Player =falsewhile Framework ==nildo Citizen.Wait(0)endif Config.Framework =='esx' or Config.Framework =='oldesx' then Player = Framework.GetPlayerFromId(source)else Player = Framework.Functions.GetPlayer(source)endreturn Playerend