I have two baseparts I want to respawn at the same time, but they must have the same time to respawn.
One basepart spawns at the beginning and another spawns a couple seconds after [7 seconds] and I need to make them respawn at the same time.
How do I do this?
But i believe you can just do a while task.wait() loop and keep checkong if basepart1 is in the workspace (respawned) if so, parent basepart2 to the workspace.
If i misunderstood or you need more help, let me know
Each part has a respawn loop attached to it.
Basically, if base part 2 spawns in late, it’s not going to respawn at the same time as base part 1.
How could I fix it?
Aha, thanks for the video! Why not just check every 5 seconds (or the delay before the respawn) to see if a part should respawn or not (in this case checking if the top part has been destroyed yet), and if one of them meets the condition then respawn it.
Sorry for the late response. Maybe you could have a table that maps between the object and its respawn time. That way it would be easy to change an objects respawn time/add a new object.