How to make an anti-explosion script for a model?

Hello, I’m not a scripter myself. I’ve tried to put this easy looking script from the toolbox and it works fine but it doesn’t achieve my goals:

55

What I want is an script that disables explosions for a specific model, you know, like a house blowing up but not a car. This script is abled to the entire workspace and I do not want that, also, it would be perfect if the explosion kills the players near it’s radius.
Can anyone help me please?

This might not be what you’re referring to, but once the descendant is added, check the parent of the explosion, and if it’s the correct parent, then just let the explosion happen. If else, then just destroy the explosion.

e.g

game:GetService("Workspace").DescendantAdded:Connect(function(item)
	if item:IsA("Explosion") then
		if item.Parent.Name ~= "House" then
			item:Destroy()
		end
	end
end)

And adjust the explosion properties accordingly.

So I have to put this script inside the workspace? I think you misunderstood me, or maybe not.
Well, what I meant is that the destroy explosion is enabled, but what I want is to be disabled for a few models and abled for a few other models.
The script that I put worked but it disabled the destroy for everything and that’s not it

Just add a lot of if statements for example if the explosion.