Who is guilty here?

If someone buys a fake gun that shoots paintballs but it turns out to be a real gun and it kills his friend, who is guilty? The shooter or the seller?

Who is guilty here?
Post Opinion