Timer doesn't work

It is cl_init but it works without timer
[LUA]
ply = LocalPlayer()

if (ply:KeyDown(IN_SPEED ) ) then

if stamina > 0 then

	timer.Create("down", 1, 0, function()
	stamina=stamina-1
	end )
	timer.Stop("up")
	timer.Start("down")
else

timer.Start("down")	

end

else

if stamina < 100 then

	timer.Create("up", 1, 0, function()
	stamina=stamina+1
	end )
	timer.Stop("down")
	timer.Start("up")	
	
else

timer.Stop("up")

end

end
[/LUA]

[editline]03:08PM[/editline]

Nobody? :S

You already have a thread opened

As Loures said you already have a thread open that I answered in.

Read it I don’t spend time answering your silly questions to be ignored.