Displays text at the top right of the screen, including the server name,** player ping** with a colored indicator, current date and time, and number of players connected…
Visualization with indication:
Very simple config.lua!
Discreet, simple and refined! What could be better !
Finally, this script offers various features such as displaying the server name, month, current date and time. Also the number of players simultaneously connected and finally the display of a red, yellow or green colored circle depending on the player’s ping!
In the code you wrote, the player sends an event to the server side every 1 second and requests a ping, this causes the server to drop at high player,
If 100 players ping the server at the same time in a never-ending loop, the network event will be used a lot and the server ping will increase and then the server will crash.