How did i will even do it?

for v, part in pairs(hit:GetChildren()) do
	if v == "BlockHitbox" and part.Parent ~= "Hitbox" then
		dashevent:FireClient(player, results)
		return
	end
end

explaining: first stroke - we get whether the enemy has a BlockHitbox (hit == HumanoidRootPart), second stroke: we checking if v it’s a hit:GetChildren() == BlockHitbox, and checking if touching part is a Hitbox of dash ability. third stroke - fire a client with a results (if results is good - stop a dash).

1 Like