So.... I am trying to make a sliding door open, but at a certain time. I've tried so many YouTube tutorials, and they don't help me one bit. It only shows it opening when you come upon them. What I am looking for is when a certain amount of time is reached, I want the doors to open. How do I do this?
COMMUNITY QUESTION
How do I make a sliding door open at a certain time?
1 answer
Use if statements
local timer = 120
while true do
if timer == 120 then
DoorFunction()
end
wait(1)
end
Timer would be replaced with whatever number you’re using, DoorFunction can either be a separate function or lines of code inside the if statement.
This discussion is preserved as it was. New answers, comments, and votes are closed.
