Hey there! I’m having a bit of trouble with a script we’re currently working on that’s supposed to execute 3 animations at the same time for 3 different rigs (only 1 of them contains a humanoid which is the Player). I’m rather terrible at scripting so I don’t know much about how to fix this issue.
Essentially the problem is that when you execute the script either the bowl animation plays but the player animation doesn’t, vice-versa, both, or neither. At no times will the ladle animation play at all though.
So far we tried putting humanoids in the ladle and bowl rigs as an attempt to resolve the issue but then an error appears declaring that an animator can’t be detected within those rigs (save for the player).
Here’s the code that handles the animation executor:
for i, v in pairs(script.Parent:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "Mix_Prompt" then
v.Triggered:Connect(function(player)
if v.BeingUsed.Value == false then
v.BeingUsed.Value = true
local CHANCES = {}
for i = 0, (100 - CONFIGURATION.MIX_SUCCESS_RATE), 1 do
table.insert(CHANCES, 1, false)
end
for i = 0, (CONFIGURATION.MIX_SUCCESS_RATE), 1 do
table.insert(CHANCES, 1, true)
end
local CHOSEN = CHANCES[math.random(1, #CHANCES)]
player.Character.HumanoidRootPart.CFrame = script.Parent.MixingBowl.Dummy.HumanoidRootPart.CFrame
player.Character.Humanoid.WalkSpeed = 0
player.Character.Humanoid.JumpPower = 0
if CHOSEN == true then
Animation_Module.RUN_ANIMATION(player.Character.Humanoid, script.AnimationIDs.MixingBowlSuccess.Player)
Animation_Module.RUN_OBJ_ANIMATION(script.Parent.MixingBowl["Bowl 1"], script.AnimationIDs.MixingBowlSuccess.Bowl)
Animation_Module.RUN_OBJ_ANIMATION(script.Parent.MixingBowl["Ladle 1"], script.AnimationIDs.MixingBowlSuccess.Ladle)
else
Animation_Module.RUN_ANIMATION(player.Character.Humanoid, script.AnimationIDs.MixingBowlFail.Player)
Animation_Module.RUN_OBJ_ANIMATION(script.Parent.MixingBowl["Bowl 1"], script.AnimationIDs.MixingBowlFail.Bowl)
Animation_Module.RUN_OBJ_ANIMATION(script.Parent.MixingBowl["Ladle 1"], script.AnimationIDs.MixingBowlFail.Ladle)
end
v.BeingUsed.Value = false
end
end)
end
end
Would very much appreciate some help with this problem. Apologies if I posted a bit too much code.
Kind regards,
nd89 
