Ok ive tried this
OnTouch(game.workspace.part)
game.workspace.part:remove()
end
I've seen pepole use connect before, But i dont understand what that does This was months ago, I edited it to explain! OnTouch(game.workspace.part) Was my attempt to think there was already a function called OnTouch i just use it and put where the part is. game.workspace.part:remove() removes that part when someone touches it.

5 comments
ty ;)
now i can create my doors [aauto doors]
If you need any Help message me on roblox for my skype
i dont have skype :c
Im Trying to make a Debounce, Hope it works well c: