Call Functions on a single client

I am trying to make a ui show up on a player after they hit a button got the button working but when i press it the ui shows up on all connected clients.

Need more information… However, if I know what you’re trying to do…you could add the following to your ClientRpc.

if(isLocalPlayer)
{
     //THE CODE TO MAKE THE UI SHOW UP
}

no i tried that but it doesn’t seem to work at all

        public void Interact()
        {
            RpcDoOnClient();
        }

        [ClientRpc]
        public void RpcDoOnClient()
        {

            if (isLocalPlayer)
            {
                Debug.Log("OnClient " );
                MenuUI.Display(true);
            }
        }

my Display() function in the menuUI

    public void Display()
    {
        gameObject.SetActive(true);
    }