like 100 times. its not that reason but only when duplicating rigs. otherwise the animation work. I had a chest and when duplicating it via studio the animations no longer worked and i didnt know this at taht time so now the chesr animations and re rigging still cause it to be dysfunctional. this is only happening with one of my rigs tho. the other ones seem fine and work perfectly (Thank god)
local function Animation(Chest, state)
OpenAnim = Chest.Animations:WaitForChild("Open")
controller = Chest.Animations.AnimationController
prompt = Chest.Extra.Union.ProximityPrompt
local Open = controller.Animator:LoadAnimation(OpenAnim)
if state == "start" then
prompt.Enabled = false
Open:Play()
task.delay(1.600000023841858 -.01, function()
Open:AdjustSpeed(0)
end)
print(Chest)
print("^Start")
local open = game.ReplicatedStorage.Sounds.ChestOpenSound:Clone()
open.Parent = Chest.UI
open:Play()
if not open.Playing then
open:Destroy()
open = nil
end
else
print(Chest)
print("^Stop")
prompt.Enabled = true
local close = game.ReplicatedStorage.Sounds.ChestCloseSound:Clone()
close.Parent = Chest.UI
close:Play()
Open:AdjustSpeed(1)
if not close.Playing then
close:Destroy()
close = nil
end
end
end
You can try verifying that Open exists maybe with a print right above where you’re playing it print(Open)
If you’re sure it’s a rig problem, are you able to upload a file with the rig so I can look into it? A video of the problem would help as well if possible.