You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to be able to change all animation ids that are using the same animationid all at once by executing a script into the command bar.
What is the issue? Include screenshots / videos if possible!
Too much animations that I have too replace manually one by one…
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
for i,Animation in pairs(game:GetDescendants()) do
if Animation:IsA("Animation") and Animation.AnimationId == -- Old -- then
Animation.AnimationId = -- New --
end
end
local ReplicatedStorage = game:GetService("ReplicatedStorage")
for i,Animation in pairs(ReplicatedStorage:GetDescendants()) do
if Animation:IsA("Animation") and Animation.AnimationId == 4919524890 then
Animation.AnimationId = 6413024198
end
end
local ReplicatedStorage = game:GetService("ReplicatedStorage")
for i,Animation in pairs(ReplicatedStorage:GetDescendants()) do
if Animation:IsA("Animation") and Animation.AnimationId == "rbxassetid://4919524890" then
Animation.AnimationId = "rbxassetid://6413024198"
end
end