As I said ScrollingFrame is your scrolling frame path. You have to replace the variable path to its location depending on your script. Also cause your main script is running on the client, you can just do:
if player.Name == player2.Name then
frame.ImageButton.Visible = false
--or
--frame.ImageButton:Destroy()
end
That seemed to hide it, but before I give you the solution, would you mind joining my game to see if it hides for the local player and not every other button (I know it will be different for you)?