How would I make an imagebutton hidden to the local player only?

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 

Inside your temp function.

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)?

You can test that yourself, using the local server feature inside Roblox Studio. Go to the Test tab > Local Server 2 players > Start.

1 Like

But wouldn’t that be the server size, not actually 2 players in the test?

It creates 3 Roblox studio windows, one representing the server, and the other 2 each player(They will be named Player1, Player2).

Nevermind, it worked. I’ll give you the solution! Thanks for the help man!

2 Likes

I forgot to give you the solution, sorry about that.

1 Like