Hello, so I made a RemoteEvent that fires after a round has ended however this Event only works for 1 player, I tested this with 2 players and both of them were deployed.
Here’s the code :
local AllPlayers = Players:GetPlayers()
for _, Player in pairs(AllPlayers) do
if Player.Stats.Deployed.Value == true then
TeleportToSpawns(Player)
Events:FindFirstChild("StartMenu"):FireClient(Player)
Player.Stats.Deployed.Value = false
end
StartGame()
end