Im making my own playerlist and im currently working on icons I am stuck at blocked as I dont know how to I identify if that player has blocked anouther
1 Like
I don’t believe we have a API Reference that can check if a certain player has blocked someone, but we do have this:
Sometimes you may want to hide the characters of blocked players from the player that blocked them. HideBlockedPlayers is a client-side script that sets the local transparency modifier of a player’s blocked players’ characters to 1 and hides their name and health.
Place the script inside StarterPlayer > StarterPlayerScripts.
Get it here:
A potential issue is the fifty blocked players limit. Players will be required to mass unblock people on their blocked users list every now and then. They c…
1 Like
it would be usefull if thier was one like this
Player:IsBlockedBy(Player.UserId)
3 Likes
There has been a Feature Request I believe for this though
A lot of the core scripts have functions that detect if a player is a friend, following, getting followed, or blocks another user, but we can’t quite do that with custom guis. (ex: If person X is constantly swearing at me and I block them, I can’t see if I block them from another gui to make it so it automatically blocks them).
So, the idea would be to add a new function that gets the status of how a player has relations with another user, without using a long list of other functions, and would…
My guess is that you’d need to mess around with the CoreScripts
of the game for that to work? Idk
1 Like