Universal Script 📌
549 Views
122 Executions

Friend left Notifyer

Universal Script 📌
ItzPnsdg
ItzPnsdg100K executions
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Just let you know that your favorite brother left the game ;) Note: U need to put this in auto execute so you dont have to manually execute it

View Raw
loadstring(game:HttpGet("https://darahub.pages.dev/Module/Library/GUI/NotifyToast.lua"))()
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local function getUserAvatarThumbnail(userId, size)
    size = size or 150
    local thumbnailUrl = string.format(
        "https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=%d&size=%dx%d&format=Png&isCircular=false",
        userId, size, size
    )
    local request = http_request or (syn and syn.request) or (http and http.request) or request
    local response = request({
        Url = thumbnailUrl,
        Method = "GET"
    })
    if response and response.StatusCode == 200 then
        local data = HttpService:JSONDecode(response.Body)
        if data and data.data and #data.data > 0 then
            return data.data[1].imageUrl
        end
    end
    return "rbxasset://textures/ui/ui_logo.png" 
end
local function isFriend(userId)
    local success, response = pcall(function()
        local request = http_request or (syn and syn.request) or (http and http.request) or request
        local result = request({
            Url = "https://friends.roblox.com/v1/users/" .. LocalPlayer.UserId .. "/friends",
            Method = "GET"
        })
        if result and result.StatusCode == 200 then
            local data = HttpService:JSONDecode(result.Body)
            for _, friend in pairs(data.data) do
                if friend.id == userId then
                    return true
                end
            end
        end
        return false
    end)


Comments

1
Log in to join the conversation. Login

[deleted]

Replying to a deleted comment
ItzPnsdg's profile picture
ItzPnsdgUploader6 months ago(edited)

@remyme52 fu**k streal a brainrot

1