I got a skript from somewhere else on these forums
on death:
if victim is not player:
set {_drops} to drops
clear drops
give attacker {_drops}
when I reload it, there is an error saying that {_drops} cannot be set to more than 1 thing, which makes sense. I'm just not sure how I would go about fixing this.
I would also like to do something similar for blocks, but an error tells me that "drops" are related to mobs, and I do not know the syntax for block drops, and couldn't find anything on the documentation.