For some reason, it puts in an explosion but doesn't explode. I also need to put in checks because it is putting in multiple, but I don't know how. nothing is showing up in output.
script.Parent.Touched:Connect(function(hit) local lol = Instance.new("Explosion") lol.Name = "explosion" lol.BlastPressure = 1000 lol.BlastRadius = 100 lol.Parent = script.Parent lol.Visible = true if lol ~= nil then wait(.1) script.Parent:Destroy() end end)
give the explosion a position