Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
533 B
3
Indexable
Never
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
Leave a Comment