Is there a way to make a player copy text by clicking a button?

Yeah uhm I’m trying to make a game that requires user IDs being copy and pasted in to function, but that’s very unfriendly for andriod and tablet users ect. So I want to make a player explorer where you can find usernames and copy their ID.
Or is there a way to get a player ID with a username?

I think I got it
https://developer.roblox.com/en-us/api-reference/function/Players/GetUserIdFromNameAsync

1 Like

For security reasons you can’t read from or write to a client’s clipboard.