FFA gamemode working
Key Required

FFA gamemode working

RIVALSbamigboyedavid1bamigboyedavid1 1.7K views 356 executesUpdated Mar 29, 2026
5.0/ 5(3 votes)
30100% Positive
Lua Script•134 lines (4122 chars)
-- FFA Hitbox Weapon Executor Script
-- Paste this into your executor and execute it

-- Configuration
local HITBOX_MULTIPLIER = 3 -- How much to increase the hitbox (3x normal size)
local EFFECT_DURATION = 10 -- How long the effect lasts in seconds
local COOLDOWN = 30 -- Cooldown between uses in seconds
local DAMAGE = 100 -- Damage to deal to affected players
local KEYBIND = Enum.KeyCode.F -- Press F to activate

-- Variables
local debounce = false
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer

-- Function to increase a player's hitbox
local function enlargeHitbox(character)
    if not character then return end
    
    -- Find all humanoid parts
    for _, part in pairs(character:GetChildren()) do
        if part:IsA("BasePart") then
            -- Store original size
            if not part:FindFirstChild("OriginalSize") then
                local originalSize = Instance.new("Vector3Value")
                originalSize.Name = "OriginalSize"
                originalSize.Value = part.Size
                originalSize.Parent = part
            end
            
            -- Increase size
            local originalSize = part:FindFirstChild("OriginalSize")
            if originalSize then
                part.Size = originalSize.Value * HITBOX_MULTIPLIER
            end
        end
    end
    
    -- Apply damage (client-side simulation)
    local humanoid = character:FindFirstChild("Humanoid")
    if humanoid then
        -- Note: This is visual only on client, for actual damage you'd need remote events
        humanoid.Health = math.max(0, humanoid.Health - DAMAGE)
    end
    
    -- Revert after duration
    task.delay(EFFECT_DURATION, function()
        if character and character.Parent then
            for _, part in pairs(character:GetChildren()) do
                if part:IsA("BasePart") and part:FindFirstChild("OriginalSize") then
                    part.Size = part.OriginalSize.Value
                end
            end
        end
    end)
end

-- Function to get all players except yourself
local function getAllOtherPlayers()
    local players = {}
    
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Character then
            table.insert(players, player)
        end
    end
    
    return players
end

-- Function to activate the weapon
local function activateWeapon()
    if debounce then 
        print("On cooldown!")
        return 
    end
    
    debounce = true
    
    -- Get all other players
    local otherPlayers = getAllOtherPlayers()
    
    -- Apply effect to all other players
    for _, targetPlayer in pairs(otherPlayers) do
        if targetPlayer.Character then
            enlargeHitbox(targetPlayer.Character)
        end
    end
    
    -- Visual feedback
    print("Hitbox weapon activated! Affected " .. #otherPlayers .. " players")
    
    -- Cooldown indicator
    local startTime = tick()
    local cooldownThread = task.spawn(function()
        while tick() - startTime < COOLDOWN do
            local remaining = COOLDOWN - (tick() - startTime)
            print(string.format("Cooldown: %.1f seconds remaining", remaining))
            task.wait(1)
        end
        print("Weapon ready!")
        debounce = false
    end)
end

-- Keybind activation
local connection = UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == KEYBIND then
        activateWeapon()
    end
end)

-- Clean up function
local function cleanup()
    -- Reset all players
    for _, player in pairs(Players:GetPlayers()) do
        if player.Character then
            for _, part in pairs(player.Character:GetChildren()) do
                if part:IsA("BasePart") and part:FindFirstChild("OriginalSize") then
                    part.Size = part.OriginalSize.Value
                end
            end
        end
    end
    
    -- Disconnect keybind
    if connection then
        connection:Disconnect()
    end
    
    print

Features & Information

Rivals ffa script kills everyone9work i progress working)

Community Comments (2)

bamigboyedavid1bamigboyedavid1Mar 29, 2026

this might not work........

bamigboyedavid1bamigboyedavid1Mar 29, 2026

tell me in the commwents if it does!

More Scripts for RIVALS