Is there a way to specify what blocks can and can't initiate a Debounce reaction to a block? Example: I have a pool of lava in front of me that will melt people upon debounce, Players go in and get melted, however if I throws blocks in, the blocks wont melt. Is this a possible thing, and if so how do I go about doing so?
For several parts having one name:
debounce = false name = "" --Use the name of the parts that won't be melted function onTouched(part) --If the function is running or if the part's name is the name we're excluding, we don't do anything. if debounce or part.Name == name then return end --stuff debounce = true --Let the function run again. end script.Parent.Touched:connect(onTouched)