script.Parent.Touched:Connect(function(hit)
if hit ~= game.Workspace.Spawner then -- the ~= means "Does not equal"
local EX = Instance.new("Explosion")
EX.DestroyJointRadiusPercent = 1
EX.Position = script.Parent.Position
EX.BlastPressure = 10
EX.BlastRadius = 40
EX.Parent = script.Parent
wait(0.2)
script.Parent:Remove()
end
end)
And the spawner is not the spawn button just saying
