Button2DownConnectionCount (Property)
From Legacy Roblox Wiki
Button2DownConnectionCount | |
Property | Int Button2DownConnectionCount |
Description | Returns the amount of times the right mouse trigger was connected by being pushed. |
Member of | PlayerMouse |
Example
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property ) if property == "Button2DownConnectionCount" then print( "The Player has pressed the Right Mouse Button " .. game.Players.LocalPlayer.PlayerMouse.Button2DownConnectionCount .. " times." ) end end )