#animation code not working
1 messages · Page 1 of 1 (latest)
do anim:Play()
This script is questionable
forgot to do that
this was just a test version
to see if it was running
which this is the error i get
what are u supposed to put for the loadanimation
ur animation..
** You are now Level 1! **
no shit bruh that didnt work
so i used the animation id
i wonder why it didnt work...
im wondering too thats why im asking you
There's problems, so many problems
biggest problem is run context
what
can you break them down
First of all, I'm assuming this script is in startercharacterscripts?
(not a problem just clarifying)
yes
I have the solution
what is it
and can u explain
im not tryna js copy code
Add another script to rig
Alright, here's a list of the most glaring problems:
This isn't a "problem," but it annoys me: you define the rig in a variable, just to use workspace.rigsname.Humanoid to define the humanoid.
Then you do the same thing for the humanoids animator and name it walkAnimTrack, for some reason.
You also created an animation object, just to load the animation with a number.
You have a humanoid defined, but then do parent.test instead of humanoid. What even is "test" ??
Most of these problems aren't causing the error. The last one probably is
That won't fix it.
what do u think the fix is
Add another script inside the rig.
next
Write "while true do end"
No
how stupid do you think i am
It will help your animation script
Very
true
erm
this
:LoadAnimation() requires an Animation object
would this work better?
yes
and put in in :LoadAnimation()
then do anim:Play()
oh mb
walkAnim.AnimationId = "rbxassetid://id"
lol
u gotta be the worst ragebait oat
mustard
vro can't do a single animation script
U
nooo
script.parent.parent.parent.parent
** You are now Level 11! **
whats wrong with it
script has a lot of parents 💀
and me..
animation isnt playing but atleast im not getting any errors
thosepeople
add
wym absolute
like math.abs(-1) is 1?
math.abs