I'm making a blacklist script, that keeps the player off the leaderboard. The only problem with the script is this line:
if plr.UserId == game.Players:GetUserIdFromNameAsync(v) then
I'm not what to replace it with, as that line only checks the player in-game. As "plr" is the playeradded function.
Please help me out if you can.
You don't really need to, but you can use HttpService with a proxy.
local url = "http://rprxy.xyz/users/get-by-username?username="..v local HS = game:GetService("HttpService") local JsonTable = HS:JSONDecode(HS:GetAsync(url)) if UserId == JsonTable.Id then print("True") end