جرب :
local ClickCount = 1
bindKey('h','down',
function ( )
if ClickCount and ClickCount < 2 then
ClickCount = ClickCount +1
return end
outputChatBox( tostring ( ClickCount ) )
ClickCount = 1
end
)
addEventHandler('onClientKey',root,
function ( button )
if button ~= 'h' and ClickCount > 1 then
ClickCount = 1
end
end
)