Untitled

 avatar
unknown
plain_text
a year ago
533 B
5
Indexable
local player = game:GetService("Players").LocalPlayer
local playerCharacter = player.Character

local args = {
    [2] = 4,
    [3] = 0.5,
    [4] = Vector3.new(0, 0, 0)
}

for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
    if otherPlayer ~= player then
        local otherCharacter = otherPlayer.Character
        if otherCharacter then
            args[1] = otherCharacter.Humanoid
            game:GetService("ReplicatedStorage"):WaitForChild("DoppioPin"):FireServer(unpack(args))
        end
    end
end
Editor is loading...
Leave a Comment