The Script is pretty self explanatory and I can’t seem to get the explosion to work. Any help would be appreciated
script.Parent.Touched:Connect(function(hit)
if hit.Parent == game.Workspace.KillBricks.TrollAstroids then
local Explosion = Instance.new("Explosion")
Explosion.Parent = hit
task.wait(1)
hit:Destroy()
end
end)
I will edit the properties after I get it to work.
script.Parent.Touched:Connect(function(hit)
if hit.Parent == game.Workspace.KillBricks.TrollAstroids then
local Explosion = Instance.new("Explosion")
Explosion.Position = hit.Position
Explosion.Parent = hit
task.wait(1)
hit:Destroy()
end
end)