Magnitue Hitboxs What are they?

I need someone to tell me what magnitude hitboxes are, there are no good tutorials on them. So I need someone to tell me how to use them. Any help appreciated.

Are you talking about when you loop through all the parts in the workspace and check their magnitude compared to a certain position, like this?

for _, BasePart in pairs(workspace:GetChildren()) do
	if BasePart:IsA"BasePart" then
		local Distance = (BasePart.Position - HitboxPosition).Magnitude
		
		if Distance < MaxDistance then
			--// Do stuff:
		end
	end
end

woah that would be taxing with a lot of parts in workspace

I know, that’s why I don’t use it. I was just asking if it’s what op meant cause I have no idea what a magnitude hitbox is.

1 Like

Sorry for confusion… the magnitude hitbox i want is for like attacks and stuff

also sorry for late reply i have a weird timezone