Hitbox Script ((exclusive)) Online

function HitboxModule.new(hitboxPart, damage, owner) local self = setmetatable({}, {__index = HitboxModule})

function HitboxModule:Activate() self.Active = true self.HitCharacters = {} self.Connection = self.Part.Touched:Connect(function(hit) if not self.Active then return end hitbox script

function HitboxModule:Deactivate() self.Active = false if self.Connection then self.Connection:Disconnect() self.Connection = nil end end function HitboxModule

return HitboxModule