Universal Script πŸ“Œ
1.4k Views
222 Executions

friend request sender

Universal Script πŸ“Œ
67_gods
67_godsFirst script
9 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

so basicly it sends friend requests to anyone in your server, and auto accepts incoming friend requests

View Raw
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function sendFriendRequest(player)
    if player ~= LocalPlayer then
        pcall(function()
            LocalPlayer:RequestFriendship(player)
        end)
    end
end

local function autoAcceptFriendRequests()
    while true do
        wait(5)
        local success, friendRequests = pcall(function()
            return LocalPlayer:GetFriendRequestsAsync()
        end)
        if success and friendRequests then
            for _, request in pairs(friendRequests) do
                pcall(function()
                    LocalPlayer:RequestFriendship(request)
                end)
                wait(1)
            end
        end
    end
end

for _, player in pairs(Players:GetPlayers()) do
    sendFriendRequest(player)
    wait(2)
end

spawn(autoAcceptFriendRequests)

Players.PlayerAdded:Connect(function(player)
    wait(2)
    sendFriendRequest(player)
end)


Comments

4
Log in to join the conversation. Login
Mask_real's profile picture
Mask_real9 months ago

I don’t understand the point of this, but cool i guess.

2
MinecraftARGLuver's profile picture
MinecraftARGLuver6 months ago

Not working anymore

1
robloxscriptsW's profile picture
robloxscriptsW9 months ago

cool it worked

1
rqccc's profile picture
rqccc9 months ago

gpt

1

Tags

More universal scripts

See all
Universal Script πŸ“Œ
138
4
Approved 3 hours ago
Universal Script πŸ“Œ
1.5k
3.7k
Bumped 4 hours ago
Key System
Universal Script πŸ“Œ
201
32
Approved 4 hours ago
Script hub
187
7
Approved 4 hours ago
Universal Script πŸ“Œ
136.4k
34.4k
Bumped 4 hours ago
Key System
Script hub
299
11
Approved 4 hours ago

Script hub

Prime Void Hub