How can I display the scoreboard for 10 seconds?

Well, yeah second post today and the title gets it out.

Here is what I wrote on my code:


function ShowWinner()
		timer.Create("CloseScoreBoard", 10, 1, function()  RunConsoleCommand("-showscores") end )	

It displays but wont go away.

Do it directly from derma or your derma function.

I am using someone else’s scoreboard from the workshop, since I am not so good at it myself.

[editline]17th March 2014[/editline]

Sorry turns out my code had some logical problems left by me, I fixed it!
Sorry for the mess.