HITBOX ALL
Key Required

HITBOX ALL

Beat The Robloxian!hallworldhallworld 21.7K views 392 executesUpdated Jun 30, 2024
3.3/ 5(6 votes)
4267% Positive
Lua Script•61 lines (1933 chars)
-- PLEASE BEFORE USING THE SCRIPT
-- IT MAKES THE ENEMIES FLOAT IN THE SKY, PLEASE LOOK UP!
--TRY TO FARM FOR A GUN BEFORE EXECUTING THE SCRIPT SO YOU CAN SHOOT THEM UP

local enemyNames = {
    "Robloxian",
    "Angry Robloxian",
    "Giant Robloxian",
    "Tiny Robloxian",
    "Orc",
    "Goblin"
}

local function resizeTorso(part, scale)
    part.Size = part.Size * scale
    part.CanCollide = false
    part.CanQuery = false
    part.CanTouch = false
    part.Transparency = 0.5 -- put how transparent is the torso
end

-- if you want to stop the modification from running click L (on keyboard)
local function resetTorso(part, originalSize, originalTransparency)
    part.Size = originalSize
    part.CanCollide = true
    part.CanQuery = true
    part.CanTouch = true
    part.Transparency = originalTransparency
end

local originalProperties = {}

-- loop to auto check for enemies
local running = true
while running do
    for _, enemyName in ipairs(enemyNames) do
        for _, instance in ipairs(workspace:GetChildren()) do
            if instance:IsA("Model") and instance.Name == enemyName then
                local torso = instance:FindFirstChild("Torso")
                if torso and not originalProperties[torso] then
                    -- restore original torso size
                    originalProperties[torso] = { Size = torso.Size, Transparency = torso.Transparency }
                    -- resize torso
                    resizeTorso(torso, 15)
                end
            end
        end
    end
    wait(0.1) -- it checks every 0.1 seconds ig
end

--key press detection
game:GetService("UserInputService").InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.L then
        running = false
        -- revert torso to normal
        for torso, properties in pairs(originalProperties) do
            resetTorso(torso, properties.Size, properties.Transparency)
        end
    end
end)

Features & Information

PLEASE READ BELOW BEFORE USING SCRIPT: I AM A BEGINNER SCRIPTER SO IT WONT BE AS GOOD, THE ENEMIES WILL FLOAT UP IN THE SKY PLEASE LOOK UP TRY TO FARM FOR A GUN BEFORE EXECUTING THE SCRIPT SO YOU CAN SHOOT THEM!

Community Comments (10)

gumagumaJun 30, 2024(edited)

nice for a beginner keep going

hallworldhallworldJun 30, 2024(edited)

thank you so much

Kaito_fansKaito_fansJun 30, 2024(edited)

Thx bro keep up good work♥️

hallworldhallworldJun 30, 2024(edited)

:D

hallworldhallworldJun 30, 2024(edited)

maybe.. i dont really know i believe this works for any npcs that has inside of it torso just make sure to locate their spawn location for example in workspace

treakertreakerJun 30, 2024(edited)

this script is aight the enemies just freeze when you execute but only for client so you dont really know where they are

YuriYuriJun 30, 2024(edited)

can you make a universal npc script/bot

amogussussy002amogussussy002Jun 30, 2024(edited)

Hey do you thin? You can make it to every npc so it can be compatible for wdm? Thanks

hallworldhallworldJul 1, 2024(edited)

alright guys! ill make an npc script hitbox script

meowcantseememanmeowcantseememanMar 16, 2025(edited)

This led me to remake this script, Thank you hallworld on making this script :D

More Scripts for Beat The Robloxian!