SimpleHitbox - easy to use and optimized

FAQ:

  • What type of hitbox does this module make?

This module makes box shaped hitboxes.

  • Why use this instead of other modules?

This module is very easy to use and its very optimized.

  • Why use this instead of RaycastHitbox4?

This module is for when you dont want a raycast hitbox and you just want a simple box shaped hitbox.

Download:

How to use & API Document

Showcase:

(reason for recv being so high is the developer console being open :skull:)

Example Code:

local offset = CFrame.new(0, 0, -3)
local size = Vector3.new(3, 6, 3)
local interval = 0.15
local hitbox = module.new(humanoidRootPart, offset, size, interval)

hitbox.HumanoidDetected:Connect(function(humanoid)
	humanoid:TakeDamage(10)
end)

task.wait(1)

hitbox.Connection:Disconnect()
8 Likes

is there support for non-humanoids?

no, this module was made for detecting humanoids only

2 Likes