Hey guys, I have this really big problem with my hoses. They do not use objects, but particle streams. It is the parent of the tool, not the emitter. This is the code:
local touch = false script.Parent.Touched:connect(function(hit) if not touch then touch = true if hit:FindFirstChild("Fire") then if (hit.Fire.Heat >= 0) then hit.Fire.Heat = hit.Fire.Heat - 7 touch = false else hit.Fire:Destroy() for i,v in pairs(hit:GetChildren()) do if v:IsA("ParticleEmitter") or v.Name == "FireLight" then v:Destroy() touch = false end end end end script.Parent:Destroy() end end) wait(0.3) script.Parent.BodyThrust:Destroy() wait(0.7) script.Parent:Destroy()