I’m getting spammed with Right Of Erasure messages for my game on roblox.
I’m thinking of doing a
for id = 1, 100000000 do
if UserId(id) == “Banned” then
datastore:RemoveAsync(id)
end
end
I’m getting spammed with Right Of Erasure messages for my game on roblox.
I’m thinking of doing a
for id = 1, 100000000 do
if UserId(id) == “Banned” then
datastore:RemoveAsync(id)
end
end
Use HttpService and a proxy to get information about a user if they are banned
https://users.roproxy.com/v1/users/USERID
Using the link above and a getasync call
pseudo code
local HTTP = game:GetService("HttpService")
local URL = "https://users.roproxy.com/v1/users/%s"
local function IsBanned(UserId: number) : boolean
local formattedURL = string.format(URL, UserId)
local success, response = pcall(function()
return HTTP:GetAsync(formattedURL)
end)
if success and response then
local decoded = HTTP:JSONDecode(response)
return decoded.IsBanned
else
warn(response)
end
end
The roblox user api link if you need it
https://users.roblox.com/docs#!/Users/get_v1_users_userId