Hi, i tryed to do one thing - players, when join my server must read rules in motd, but they are close it at once. How to do: close button show only after 60 sec.? i tryed use timer.simple, but it doesn't work.
timer.Simple( 5, 
   local button = vgui.Create( "DButton", window ) --TIMER
   
   button:SetText( "Close" )
   button.DoClick = function() window:Close() end
   button:SetSize( 100, 40 )
   button:SetPos( (window:GetWide() - button:GetWide()) / 2, window:GetTall() - button:GetTall() - 10 )    )
 )
 Sorry for my english, it's not my home lang.