Universal Script 📌
38.7k Views
232 Executions

NPC HITBOX EXPANDER

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

PLEASE PLEASE PLEASE PLEASE READ ALL THE COMMENTS AND READ BELOW: THE GUI VERSION IS OUT!!! https://scriptblox.com/script/Universal-Script-GUI-NPC-HITBOX-EXPANDER-V2-15167 -- NPC Hitbox Expander by hallworld#0 (discord) -- IF YOU CANNOT FIND THE LOCATION: --THE SCRIPT HAS BUILT IN PRINTING LOCATION --WHICH WHENEVER YOU CLICK ANY PART (CLICK THE NPC TORSO) --IT WILL PRINT THE LOCATION OF THAT DUMMY IN CONSOLE!!!! --THEN COPY THAT AND PUT IT TO THE "LOCAL NPC" VARIABLE

View Raw
--[[
    WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- NPC Hitbox Expander by hallworld#0 (discord)
-- PLEASE READ ALL THE COMMENTS!!

-- IF YOU CANNOT FIND THE LOCATION:
--THE SCRIPT HAS BUILT IN PRINTING LOCATION
--WHICH WHENEVER YOU CLICK ANY PART (CLICK THE NPC TORSO)
--IT WILL PRINT THE LOCATION OF THAT DUMMY IN CONSOLE!!!!

-- PUT YOUR ENEMY LOCATION HERE IT MUST BE TORSO
local npc = game.Workspace.ActivePlayers.Dummy.Torso
-- ENEMY HITBOX SIZE
local newSize = Vector3.new(15, 15, 15)
-- ENEMY HITBOZ SIZE TRANSPARENCY
local newTransparency = 0.5

local function expandHitbox()
    npc.Size = newSize
    npc.Transparency = newTransparency
    npc.CanCollide = false
end

-- FUNCTION THAT PRINTS THE PART THAT YOU CLICKED IN CONSOLE
local function onPartClicked(part)
    print("Clicked part: " .. part:GetFullName())
end

local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")

local function onMouseClick()
    local player = Players.LocalPlayer
    local mouse = player:GetMouse()

    mouse.Button1Down:Connect(function()
        local target = mouse.Target
        if target then
            onPartClicked(target)


Comments

7
Log in to join the conversation. Login
Jamjam0139's profile picture
Jamjam01392 years ago(edited)

Why don't try fluxus there's built in console

2
hallworld's profile picture
hallworldUploader2 years ago(edited)

THE GUI VERSION IS OUT!!!! https://scriptblox.com/script/Universal-Script-GUI-NPC-HITBOX-EXPANDER-V2-15167

1
Bi2_BlackSun's profile picture
Bi2_BlackSun2 years ago(edited)

how to use that..

1
darktexev's profile picture
darktexev2 years ago(edited)

The one I've been looking for but I'm on mobile. I don't really understand the instructions since it's only been months I used scripts

1
hallworld's profile picture
hallworldUploader2 years ago(edited)

oh thats an idea! it also works for any console i just thought mobile users dont have consoles, that works too!! but i am not sure of that it support mobile clicks, please check for me!

1
hallworld's profile picture
hallworldUploader2 years ago(edited)

TO ANYONE WHO WANTS TO HELP ME MAKE A GUI FOR THE SCRIPT! PLEASE DM ME IN MY DISCORD: hallworld

1
hallworld's profile picture
hallworldUploader2 years ago(edited)

THE CLICK-TO-PRINT IN CONSOLE WONT WORK FOR MOBILE USERS SINCE THEY CANNOT OPEN CONSOLE!! SO MOBILE USERS, YOU HAVE TO FIGURE IT OUT USING DARK DEX OR A CHOICE FROM YOUR OWN

1

Tags

More universal scripts

See all
Universal Script 📌
525.9k
336.7k
Bumped 39 minutes ago
Script hub
2.4k
2.2k
Bumped 2 hours ago
Key System
Universal Script 📌
152
15
Approved 2 hours ago
Script hub
2.8M
661.5k
Bumped 3 hours ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
182
20
Approved 4 hours ago