The SquishyDamage call here is being given a Trace that hits a Vehicle, not a player.
That means the function double-damages the vehicle and never hits the driver.
This creates a new Trace object and updates it to pretend like it's hitting the driver before being passed into SquishyDamage.
The
SquishyDamage
call here is being given a Trace that hits a Vehicle, not a player. That means the function double-damages the vehicle and never hits the driver.This creates a new Trace object and updates it to pretend like it's hitting the driver before being passed into
SquishyDamage
.I have not personally tested this yet.