Howdy everyone! So I’m making a game where I need to get user’s blocked ids. How can I print all of the ids? Thanks!
Can you elaborate further on what you mean by blocked user ids
They’re referring to users that the player has blocked
1 Like
print(game:GetService("StarterGui"):GetCore("GetBlockedUserIds"))
You can only use that in a local script.
https://developer.roblox.com/en-us/api-reference/function/StarterGui/GetCore
GetBlockedUserIds
Returns a list ofPlayer.UserId
s associated with users that have been blocked by the local player.
As it refers to the local player this can only be used from local scripts.
1 Like