How do I make it so that .Touched events don't work on a certain part

Alright, good luck and h ope it goes well!

I got it working, while making it a lot more OP in the process. If you want the require script for it DM me on discord or just go to Chronos Release

1 Like

maybe

local white_list = {a part, a part, a dummy part}

part.Touched:Connect(function(stuff)

--check every white listed parts
for _, stuff__ in next, white_list do
if stuff == stuff__ then return end -- white listed part
end
--code to run
stuff:Destroy()
end)

Read through the whole thing before answering, also I marked a solution already.

em ok, i dont see if it has already have a solution.
anyways im just answering questions