local randomPlayer = game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())]
print(randomPlayer)
game.ReplicatedStorage.Talk:FireClient(randomPlayer,"Why the hecc are we all going to the bathroom at the same time!")
It says that player argument must be a Player object but I checked other sources dozens of times and found the same script/method. Please help! I know that it is nil but i don't quite know why because I'm pretty sure I did everything correctly.

1 comment
Are you running this when the game starts? It's going to error if you do this.