[Noobie] Need help making a purge addon

I want to make my own custom purge plugin that runs a event every 1 hour and displays text saying “Purge” when the timer gets to 0, of course i want this to run infinite :slight_smile:
This is what i have and it doesn’t work and it only outputs text to chat

timer.Create("purge_start", 1, 0, function)
	for k, ply in pairs( player.GetAll() ) do
		ply:ChatPrint( "Hello World" )

Can anyone help me improve this and make one that displays text on screen? thanks :slight_smile:

Use: https://wiki.garrysmod.com/page/Net_Library_Usage

Once the timer reaches 0 send a networked message to all clients, then use:

GM/HUDPaint to display the text.