Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
616 B
4
Indexable
local player = game:GetService("Players").LocalPlayer

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

while true do
    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
    wait(0.1) -- Adjust the delay between each iteration (in seconds)
end
Leave a Comment