-
What do you want to achieve? Hello, i use the CollectionService for doors in my game but i have an issue with a wait()
-
What is the issue? I need to include a wait in my door code but when i close my doors it close the door one by one because there is a wait, this is my code :
for _, door in pairs(CollectionService:GetTagged("Door")) do
-- here the alarms alert the player that the door will close
wait(5)
-- here i would tween my door
end
- What solutions have you tried so far? I tried to fix it myself and looked on forums.