GetPlayers Problem

Hi there, so i got this problem that when i use Players:GetPlayers() method in server it’ll just return an empty table but when i do it on client it’ll return the players idk why this is happening
image

You might want to give us your LocalScript and RoundHandler so we can figure out what is the problem.

so i fixed it by doing this, inserting the player who join in the table

local Players = {}

game.Players.PlayerAdded:Connect(function(player)
       table.insert(Players, player)
end)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.