Button1DownConnectionCount (Property)

From Legacy Roblox Wiki
Jump to navigationJump to search
Button1DownConnectionCount
Property Int Button1DownConnectionCount
Description Returns the amount of times the left mouse trigger was connected by being pushed.
Member of PlayerMouse









Example
game.Players.LocalPlayer.PlayerMouse.Changed:connect( function( property )
   if property == "Button1DownConnectionCount" then
      print( "The Player has pressed the Left Mouse Button " .. game.Players.LocalPlayer.PlayerMouse.Button1DownConnectionCount .. " times." )

   end
end )