so i've got this script but i have no idea how to finish it, it has to go into a door (part) and wait 60 seconds after it's clicked, then open, 30 seconds later, it closes.
heres the script:
function clicked() wait(60) -- wait a minute before opening -- door opens wait(30) -- given time before closing -- door closes end
script.Parent.ClickDetector.MouseClick:connect(clicked)

1 comment
These kind of things go in comments not answers.