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?
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!!