For some reason, when standing on an object before firing a touched event. The event doesn’t register.
COMMUNITY QUESTION
Touched events not working when fired after standing on an object?
1 answer
ground.Touched:Connect (function (hit)
if hit.CanCollide == true and hit.Locked == false
table.insert(touchedParts,hit)
hit.CanCollide = false
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Please give me more details on the code.
I am trying to make wall phasing. I made a block that detects objects. If it touches an object and the phase gets activated, it will not work. If it doesn’t touch anything at first, it will work
Can you show us your code? @eyad27
I posted the script at answer