Button2UpConnectionCount (Property)

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










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

   end
end )