#Viewmodel not loading animation
1 messages · Page 1 of 1 (latest)
yo can u show the client script pls in which you use the modules methods
Not on pc give me a moment thx
But only the main framework are created and only uis for left click detection to fire
@blissful surge
and are you sure it's not a looping animation?
guaranteed
where do you play the animation?
localscript
including the viewmodel
can you show that code
the rest is above
so the issue is that the "ended" print doesn't show up?
the animation does not run either
i don't see the runanim function called anywhere
is in the modulescript
first image
where
oh
yes the runanim function is there
where is it called
oh
so
functions declared with . cannot access instance data
meaning self
you would have to declare it as function module:runanim(name: string)
or function module.runanim(self: type, name: string)
and then call it as module:runanim()
self would be nil here
i don't know why it's not erroring though
OHH
good thing is that I know why my variable is being nil inside "self" now
tysm
bad thing is well...
the animation isn't showing, so it must be a flaw in the animation. But I appreciate you for pointing out the flaw inside my code @abstract crane
np
It took me like 3 DAYS to realize I'm using the wrong humanoid to load the animation