Well, I'm not even sure somthing like this is real... So, like a hit there can be a way to check how hard it hit?... I'm trying to make a car that explodes after HARD hits not simply a player walking into it..... Please help me?
✓ ANSWER ACCEPTED
The force of a hit?
1 answer
✓ Accepted answer
What You Need To Do
With a Touched event, you need to get the force of the part that touched!
Formula For Force
The formula for the force of an object is Velocity * Mass.
To get the Velocity of an object, you need to index the Velocity Property of the object.
To get the Mass of an object, you need to use the GetMass function.
Code
part.Touched:connect(function(hit)
local Xforce = hit.Velocity.X * hit:GetMass()
local Yforce = hit.Velocity.Y * hit:GetMass()
local Zforce = hit.Velocity.Z * hit:GetMass()
end)
1 comment
0
I guess this is good for now...
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
You could check the velocity of the part hat hit it, although velocity isn't exactly super reliable.
Hmm.. Good idea.. Might not work too well I guess..
If your having a problem where it explode when the player walks into it then why don't you make the script check if the Part is just hit has a Humanoid inside and if it does it won't explode and if it doesn't it would explode?
Well, by player walking into it, I ment little hits like that... So mabye a better example would be, the car exploding whenever it lightly touched a wall or sometimes even simply the road under it...