How to make a player drop their inventory upon knockout

Somethin’ like this: