Ok, I want ya'll to check on my intermission script

So, I have an intermission script, and I want ya’ll to review it, because I have a question after.
Here’s the code.
A Server Script in SSS:

for i = 50,0,-1 do

	game.ReplicatedStorage.timerevent:FireAllClients(i)
	wait(1)
	print("Sending Client Event...")
end

And A LocalScript under a TextLabel:

game.ReplicatedStorage.timerevent.OnClientEvent:Connect(function(i)
	print("Got Client Event!")
	print(i)
game.Players.LocalPlayer.PlayerGui.ScreenGui.TextLabel.Text = i

end)

Here’s the question:
Would this intermission script start over when a new player joined, like countdown from 50 only on their screen? OR would it resume where everyone else’s number is at? If it is the first one, then can ya’ll tell me how I could make it resume? Thanks!
-Aztralzz

3 Likes

Since server script runs when the server starts and does not replicate unless a new server is created all clients should be synced at the same time. So it would resume

1 Like

Go on roblox please, let’s test it.

I have recategorised this post. Please only use Code Review for improving working code, and Scripting Support for getting help or support on resolving problems or learning how to add more features to your code. Review our category guidelines for more information on how to use a category before posting!

1 Like