#Why wont the walking animtaion play?

1 messages · Page 1 of 1 (latest)

peak folio
#

I made an animation for the arms, I made it looped so that the animation always plays. But when I try to walk the walk animation wont play.

⁨```lua
local defaultAnimate = character:WaitForChild("Animate", 5)
if defaultAnimate then
defaultAnimate.Disabled = true
defaultAnimate:Destroy()
else

end

for _, track in pairs(animator:GetPlayingAnimationTracks()) do
track:Stop()
end

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://116171525977909"

local track = animator:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action4
track.Looped = true

track:Play()

timber sandal
#

Is this a group game

#

because if it is you can only play animations owned by the group not by the player

#

it also works the opposite way (im pretty sure)

#

unrelated but you don't need to use pairs() you can just put in the table

peak folio
timber sandal
#

This wont fix your script its just a tip for the future
lua for _, track in animator:GetPlayingAnimationTracks() do track:Stop() end

peak folio
#

thx

timber sandal
# peak folio thx

what about the other things is the game a group game or just yours

#

And is the animation owned by you

peak folio
#

yes its my animation

astral comet
astral comet
peak folio
#

no

#

its a arm animation

astral comet
#

but where do you play the walk animation

peak folio
#

idk

astral comet
#

because if you delete the default animation script and then don't have a custom animation script that handels walking then ofc there won't be a walk animation

peak folio
#

how can i deleta all other anims except for walking

astral comet
#

why would you want to delete all the other animations?

peak folio
#

cuz i dont need em

astral comet
#

do you want your player to jump?

peak folio
#

yeh

astral comet
#

then you need a jumping animation and a falling animation

#

do you want your player to have a idle animation?

peak folio
#

i want the player to have a box in its hand

astral comet
peak folio
#

like a player holding a box

#

holding a box above your head

astral comet
#

i see

#

let me try something i'll be right back

peak folio
#

ok

peak folio
#

you got it?

astral comet
#

Yup

#

show me your animation for holding your box

#

to me more specific this thing

peak folio
#

ok

#

it looks like this

astral comet
#

No i want to see the these little nodes like you can see in the picture

peak folio
#

there is one single node

fading dragonBOT
#

studio** You are now Level 11! **studio

astral comet
#

can you take a screenshot?

peak folio
#

uhm im on my phone

#

its basically one node

#

at the start

#

just rotate the arms

#

and btw its r6

astral comet
#

well then something is not right there should be atleast 3 of these dots

peak folio
#

why?

#

ill send the animation id?

astral comet
#

that won't work

#

i can't use your animation id

#

but you basicly need to atleast have your torso and both of your arms

peak folio
#

why?

astral comet
#

because you want your arms to be up and the torso just always has to be there for the animation

peak folio
#

could u redo the animation?

#

im on my phone rn

astral comet
#

I already made one

peak folio
#

can i see

astral comet
#

These are the animation dots/ nodes (Idk how to call them) (Ignore the box part it was just me testing something)

peak folio
#

perfect

astral comet
#

I didn't do anything to it

peak folio
#

how did my anim not work

astral comet
#

⁨```lua
local LocalPlayer = game.Players.LocalPlayer

local BoxAnimation = script.BoxHoldingANIMATION
local Animator = LocalPlayer.Character:WaitForChild("Humanoid"):WaitForChild("Animator")
local BoxHoldingAnimationTrack = Animator:LoadAnimation(BoxAnimation)
BoxHoldingAnimationTrack.Priority = Enum.AnimationPriority.Action

BoxHoldingAnimationTrack:play()

astral comet
#

and i think that you didn't get rid of the animation nodes / dots for the legs

peak folio
#

ohhh

#

doesnt the anim need to be looped

astral comet
#

it is already

#

you can set an animation to looped in the animation editor

peak folio
#

oh yeah

#

tysmmm

astral comet
#

this repeating symbol

peak folio
#

tyyy

astral comet
#

np

#

If you still are having problems when you are back on pc ping me