Just hide the player's head node.
function hitBoxTest(%obj, %col, %test){ $hitbox = true; $hitboxList = ""; paintProjectile::onCollision("", %obj, %col, "", %pos, ""); cancel(%col.tempColorSchedule); $hitbox=""; %hbl = $hitboxList; $hitboxList = ""; return %hbl;}
Code: [Select]function hitBoxTest(%obj, %col, %test){ $hitbox = true; $hitboxList = ""; paintProjectile::onCollision("", %obj, %col, "", %pos, ""); cancel(%col.tempColorSchedule); $hitbox=""; %hbl = $hitboxList; $hitboxList = ""; return %hbl;}
good job leaving out the package that actually makes it functionYou also need to package over Player::setNodeColor(%this,%node,%col) to add %node to $hitboxList and return if $hitbox is true