How do I re-name the "handle" in this animation?

Just going to keep this pretty short. I’m making a katana animation, but what I didn’t realize is that I should not have named the handle “Grip” as it messes up some tool scripts.

I would just go and re-name it but upon doing so it wrecks the animation as it’s still looking for the handle named “Grip”. I’m not sure if there is a way around this, but if there is I’d be really grateful if you could share it.

2 Likes

Couldn’t figure how to re-name it, but I found a different fix in my script by using the function “FindFirstChild” to get the instance and not the property of “Tool”.

Idk if u still needa rename but here’s how:

Select the keyframe sequences:
image


Run the “renaming” code in the command bar (at bottom)

local oldName = "Grip" replaceName = "Handle" for _, kfSequence in pairs(game:GetService("Selection"):Get()) do if not kfSequence:IsA("KeyframeSequence") then continue end for _, pose in pairs(kfSequence:GetDescendants()) do pose.Name = pose.Name == oldName and replaceName or pose.Name end end

Press enter to run the code
(if you don’t see the command bar, enable it through the view tab)

Reupload to Roblox


Upload your animations to Roblox, overwriting your old animations.
You could upload by Right clicking the KeyframeSequence → Save to Roblox…
or if I remember correctly, you load the animation in roblox animator and press export

9 Likes