(UNSOLVED) help with explosions

I am currently making a game but I have an explosion but I want it to blow up a model but also do 0 damage to the players here is my code:

local button = game.Workspace.Explody
local smallship = game.Workspace.smallship
local copy = game.ReplicatedStorage.smallship:Clone()
local debounce = false

button.Touched:Connect(function(hit)
	
	if not debounce then
	
	debounce = true
	
	local ex = Instance.new("Explosion")
	ex.Parent = game.Workspace.smallship
	ex.Position = Vector3.new(game.Workspace.smallship)
	ex.BlastPressure = 1000000
	ex.BlastRadius = 50
	button.CanCollide = false
	button.Transparency = 1
	wait(16)
	
	wait(0.1)
	game.Workspace.smallship.Parent = nil
	copy.Parent = game.Workspace
	copy:MoveTo(Vector3.new(-3, 9.5, 11))
	wait(2)
	button.CanCollide = true
	button.Transparency = 0
	wait(2)
	debounce = false
	end
end)

Thanks.

1 Like

Setting the explosion’s DestroyJointRadiusPercent property to 0 should do it.

ex.DestroyJointRadiusPercent = 0
2 Likes