Refactoring, add bone.HandleFunc, speed improvement