The script involves playerGui and a Round system. What type of line can make the script run for everyone at once.
✓ ANSWER ACCEPTED
How can I get a script to run for everyone at the exact same time?
1 answer
✓ Accepted answer
Use a for loop to iterate through the players in-game.
for index, player in pairs(Game.Players:GetPlayers()) do
coroutine.resume(coroutine.create(function()
player.Character:BreakJoints() --Replace this with any code that you want to run for the player.
end))
end
3 comments
0
Yes but when I do this is takes turns instead of doing it at once. For example one player gets a gui before another.
0
I see. Please look at my edited code.
0
Thank you so much!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I have updated my answer.