So, I've made a Goal-Line technology script w/ part, and in the script it has a message, it then destroys the message, but cause the ball bounces in then out of the net, it makes two messages and only one gets deleted. Here is the script:
script.Parent.Touched:connect(function(otherPart)
if otherPart.Name == "TPS" or otherPart.Name == "Ball" then
m = Instance.new("Message")
m.Parent = Workspace
m.Text = "Goal!"
wait(4)
m:Destroy()
end
end)
How do I make them both get deleted?
