I am making a derby game, when a car hits a rock the car would get destroyed like in those old roblox games, the car is made out of welds and parts.
the rock should have a script like this in it.
script.Parent.Touched:Connect(function(hit)
local all = hit.Parent:FindFirstChild("Weld")
all:Destroy()
end)
but it doesnt work, why?
