Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

any way to make more than one door open at the same time?

for my prison game i wanna make it to where you can open all of the cells at one time

1 comment

0

Organize all the cell doors into a folder for ease, iterate through each cell and call a Tween on a separate thread.

1 answer

ok so first make a folder with all your doors then you can use this I forgot how to do it but heres an idea

for i,v in pairs(game.Workspace:WaitForChild("Doors"):GetChildren()) do
	--Make a script to move all doors 
end

accept if helps

2 comments

0

workspace.Doors:GetChildren(), :WaitForChild() isn't required in this situation, you should also use workspace keyword shortcut.

0

which specific folder do i need to put it in?

This discussion is preserved as it was. New answers, comments, and votes are closed.