KeyDownConnectionCount (Property)

From Legacy Roblox Wiki
Jump to navigationJump to search
KeyDownConnectionCount
Property Int KeyDownConnectionCount
Description The amount of times the KeyDown event was connected.
Member of PlayerMouse









Example
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property )
   if property == "KeyDownConnectionCount" then
      print( "The Player has pressed " .. game.Players.LocalPlayer.PlayerMouse.KeyDownConnectionCount .. " keys." )

   end
end )