I am pretty new to scripting Lua, and would like someone to correct my mistakes for me to be able to disable ClickDetector button for at most least 20 seconds for one person only in one area, but they would also be able to do it in another area with the same scripts. Thank you! Please respond as soon as possible with an answer.
Script:
open = true Script.Parent.ClickValue Door.ClickDetector. '='got 'open' '='got true. then disable.ClickDetector
wait(20) enable.ClickDetector end