Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can someone help fix my script to disable ClickDetector for 20 seconds for one person only?

Asked by 5 years ago

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

0
please use code blocks by pressing the blue button with the word Lua in it, if you still need help with this code, delete this and repost the question and ill help you there aazkao 787 — 5y
0
You'll need to turn on Filtering Enabled and have a local script disable the ClickDetector using a RemoteEvent awesomeipod 607 — 5y
0
would that be in an alvinblox video? shufflebotandrew 2 — 5y
0
oh ill try that shufflebotandrew 2 — 5y

Answer this question