I've tryed adding the x y z of the velocity but it doesn't work. What could I do to get a force of a hit?..
script.Parent.Touched:connect(function(Part)
local force1 = script.Parent.Velocity.X + script.Parent.Velocity.Y + script.Parent.Velocity.Z
local force2 = Part.Velocity.X + Part.Velocity.Y + Part.Velocity.Z
local TotalForce = force1 + force2
print("Damage was "..TotalForce..".")
script.Parent.Damage.Value = script.Parent.Damage.Value + TotalForce
end)
