I am writing this pickup system and on each item on the ground there is a TextRenderer that says like “Pick up item”.
I have a sphere around each player which toggles overlap events on the items to toggle the visibility of the text.
My question is, how can I make so the text is only visible to the players close to the item instead of everyone?
I have tried to remove replication, when the client is close the to item the server sees it even though it’s far away from the server.
I have tried replicating to Client only, when the server is close to the item the client sees it even though the client is far away.
How can I make the text only visible to the players close to it and hide it to everyone far away from it?