x.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Part") then
x:Destroy()
end --Part Destroy
I have this so my my part (x) deletes after touching another part, but for some reason its also deleting after touching terrain. Maybe part and terrain are both considered parts but either way, i dont want my part to delete when touching terrain, only parts. Thanks.

1 comment
You wouldn't need to check if player ~= nil. just say if player then