I was just wanting to know if this script would work or not.
ball = script.Parent
local invelocity = ball.Velocity
wait()
function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if (human ~= nil) then
human.Health = human.Health - 25 --How much damage the brick does when touched. (100=death when health is normal)
end
end
script.Parent.Touched:connect(onTouched)
connection = script.Parent.Touched:connect(onTouched)
wait(0.5)
ball.Parent = nil

3 comments
Alright. Thanks. Can you help on that?
Also, I have another script in my Laser gun that removes the ball after a couple seconds.
In that case you should get rid of one of the methods to remove the ball. Either get rid of the part that removed it in the lazer or remove the Debris part in this script.