Each playtest is a gamble of wether this animation will work or not. No errors, always reaches the line where its played, no issues with priorities, is loaded on an Animator and not humanoid & is always preloaded. But it roughly just has a 1/6 chance of working everytime I playtest. This also happens with some other animations.
Could you share the script with us?
Theres no need, really. It runs the line where it plays with no errors, but it just doesnt play it.
local PickupAnim = Humanoid:WaitForChild("Animator"):LoadAnimation(script.AdditionalAnims.Pickup)
local PickupLoopAnim = Humanoid.Animator:LoadAnimation(script.AdditionalAnims.PickedupIdle)
ReplicatedStorage.Remotes.DownedPickup.OnClientEvent:Connect(function(s)
if s then
PickupAnim:Play(0)
task.wait(PickupAnim.Length - .1)
if Character.CharacterStats.Holding.Value == true then
PickupLoopAnim:Play()
end
else
PickupAnim:Stop(0)
PickupLoopAnim:Stop()
end
end)
Yeah literally just putting task.wait(2)
before loading the animation fixes the issue… This was never neccessary before. Roblox what are you up to
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.