Create a script

Create script or if you already have a script you’re okay.

Insert the code

Paste the code into ServerScriptService inside your game

local HttpService = game:GetService("HttpService")

local apiUrl = "https://watchbat.dev/api/"
local apiKey = "VALID_API_KEY"

function checkUser(userId)
    local success, result = pcall(function()
        local url = apiUrl .. "?roblox=" .. userId .. "&key=" .. apiKey
        local response = HttpService:GetAsync(url)
        local data = HttpService:JSONDecode(response)
        return data.found
    end)
    return success and result or false
end
                    

Join the Discord

Get news, meet developers & find out what's next in our project.

Join Discord