i have this already but i cant get it to regenerate after its removed
function onTouched(hit)
local e = Instance.new("Explosion")
e.BlastRadius = 300
e.BlastPressure = 5000
e.Parent = game.Workspace
e.Position = script.Parent.Position
wait(1)
local Hint = Instance.new('Hint', Workspace)
Hint.Text = "playername got pwnd"
wait(2)
Hint:Destroy()
wait(.1)
game.Workspace.bk:remove()
end
script.Parent.Touched:connect(onTouched)

1 comment
That's kind of what I did. He also made other mistakes in the script, so I did it for him.