Universal Script 📌
557 Views
140 Executions

Friend left Notifyer

Universal Script 📌
ItzPnsdg
ItzPnsdg100K executions
6 months ago · Updated

Reviewed by QueueMatttsPaid revieweron How review works

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

Updates

  1. Script edited: Update script

  2. Script edited: Update script

View Raw
loadstring(game:HttpGet("https://darahub.pages.dev/Module/Library/GUI/NotifyToast.lua"))()
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function getUserAvatarThumbnail(userId, size)
    size = size or 150
    return string.format("rbxthumb://type=AvatarHeadShot&id=%d&w=%d&h=%d", userId, size, size)
end

local function isFriend(userId)
    local success, result = pcall(function()
        return LocalPlayer:IsFriendsWith(userId)
    end)
    return success and result or false
end

Players.PlayerRemoving:Connect(function(player)
    local displayName = player.DisplayName
    local userId = player.UserId

    if isFriend(userId) then
        task.spawn(function()
            local avatarIconUrl = getUserAvatarThumbnail(userId, 150)
            NotifyToast({
                title = displayName .. " Left this server",
                content = "",
                icon = avatarIconUrl,
                iconCornerRadius = true,
                duration = 5
            })
        end)
    end
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

More universal scripts

See all
Script hub
16.0k
93.4k
Bumped 47 minutes ago
Key System

Script hub

Kronos New

Universal Script 📌
48.5k
46.7k
Bumped 3 hours ago
Universal Script 📌
1.5k
1.3k
Bumped 6 hours ago
Universal Script 📌
4.2k
56.5k
Bumped 7 hours ago
Universal Script 📌
7.1k
71.8k
Bumped 7 hours ago
Script hub
3.5M
1.2M
Bumped 8 hours ago
Key System