#AnimationTrack limit of 256 tracks for one Animator exceeded, new animations will not be played.

86 messages · Page 1 of 1 (latest)

verbal ruin
#

guys help me out here!

marsh snow
#

you should probably load the animation when the tool is equipped

verbal ruin
#

isnt it already doing that

#

oh

#

load it!

marsh snow
#
while task.wait() do 
    if equipped == true then
        local Humanoid = script.Parent.Parent:WaitForChild("Humanoid")
        if Humanoid.MoveDirection == Vector3.new(0,0,0) then
            local Anim = game.ReplicatedStorage.Animations.KatanaIdle
            Animation = Humanoid:LoadAnimation(Anim)
            Animation:Play()
        else
            if Animation then
                Animation:Stop()
            end
        end
        
    end
end

i have this script for a tool animation script

verbal ruin
#

not play it

marsh snow
#

yes try that

verbal ruin
#

ok

#

would "equipped" be my "Animation"

#

wait

#

i get it nvm

#

nvm i dont get it

#
local Character = Player.Character or Player.CharacterAdded:Wait()


local Equipped = script.Parent.Equipped

while task.wait() do 
    if Equipped == true then
        local Humanoid = Character:WaitForChild("Humanoid")
        
            local Anim = game.ReplicatedStorage.TVAnimation
            Animation = Humanoid:LoadAnimation(Anim)
            Animation:Play()
        else
            if Animation then
                Animation:Stop()
            end
        end
    end
#

what i do

#

it no work!!

#

is it the if Humanoid.MoveDirection == Vector3.new(0,0,0) then that i removed

#

all add that back that might be it

#

it still didnt work!

#

im not

#

its doing it itself

#

this was the original script

wicked jungle
#

you're probably making new animations and loading them every time something happens instead of just making it once and loading it into the animator

verbal ruin
#

how do fix

wicked jungle
#

"making it once and loading it into the animator"

verbal ruin
#

ok

golden laurelBOT
#

studio** You are now Level 2! **studio

verbal ruin
#

wdym by if it exists

#

like .isloaded?

#

alright

verbal ruin
#

im so lost

#

local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")


if Animation then

    script.Parent.Equipped:Connect(function()
        Animation:Play()
    end)

    script.Parent.Unequipped:Connect(function()
        if Animation then
            Animation:Stop()
        end
    end)
    else Animation = Humanoid:LoadAnimation(script.Parent:WaitForChild("Animation"))

end```
#

oh wait

#

hold on

#

nvm

#

@dapper barn can u tell m e if theres a problem here

#

ok

#

sory

#

i hate scripts relating to animation!!

velvet knoll
#

I meant only load once

verbal ruin
#

can you help eeeee?

velvet knoll
verbal ruin
#

its not doing the animation!

velvet knoll
#

First of all the original script works fine

verbal ruin
#

omg wait

#

i think am an idiot

velvet knoll
#

The script looks fine to me atleast

verbal ruin
velvet knoll
verbal ruin
#

its a tool that multiple players can collect

velvet knoll
#

That won’t happen unless you load like 200 animations on the humanoid

verbal ruin
#

this is NOT ok

velvet knoll
verbal ruin
#

well idk

velvet knoll
#

Can you click on the - client after the warning?

verbal ruin
#

what

velvet knoll
#

In studio

verbal ruin
#

idk how to replicate it

#

it just happens

velvet knoll
verbal ruin
#

ok

velvet knoll
#

Also are you dropping the tool constantly and picking it up

#

Or perhaps picking up 200 tools

verbal ruin
#

no

#

u cant drop it

#

u can only get one at a time

#

if u try and get another it doesnt

velvet knoll
#

Can you reproduce?

verbal ruin
#

im trying

#

rn

velvet knoll
#

Also can you send an image of the console

#

Or output

verbal ruin
#

ok\

#

im trying to replicate it rn

#

it usually happens with 2 people so im using two people thing

#

its not replicating at all!

golden laurelBOT
#

studio** You are now Level 3! **studio

verbal ruin
#

i might just atke the easy route and make it so it doesnt appear at all when u hold it :(

#

after all it is a tv

#

it either would/would not make sense either way

velvet knoll
#

It just fixed itself then

verbal ruin
#

i guess

velvet knoll
#

Excellent coolguy