How to Target all Players?

Hello, I am trying to target all the players to run a script clienside but I can’t manage to do it.
I don’t know how to target every player on the server.


util.AddNetworkString("Count")
net.Start("Count")
net.WriteString("30")
net.Send()

what should I put in net.Send() to target every player?
I tried:


net.Send(player.GetAll())

and


for k, v in pairs(player.GetAll()) do
net.Send(v)
end

I am new to lua, could anyone help me? It would be awesome!!

net.Broadcast

OMG thank you so much!! I didn’t know about this command even tought I saw it one or two times.