Player item drop?

I want a script that allows the items on the player to drop to the ground in the form of a bag after the player dies.

like this or similar

Maybe this? [Release] [ESX] Loot The Dead Corpse

I don’t want it that way unfortunately it won’t work for me

I’m looking for too