#My animation for player doesn't work

1 messages · Page 1 of 1 (latest)

worn ridge
#

Hello there,

The script works for the npc but not for the player, I thought that maybe animations cant play at the same time but even if I switch places for Player animation to be first it still doesnt work. I even made animation from core to idle and It still doesn't work I'm not sure at all why It doesn't play player animation but I am trying to make a cutscene for ending of my game. I followed an youtube tutorial and I checked everything multiple times (video is 2 years old) I didn't find anything that could break the code but it is confusing why only npc animation works. I am new to coding in roblox and all my codes look diabotical if I don't watch a youtube tutorial but I for them have found by myself the answer in the end for this one I just can't figure this out.

Thank you for reading my issue, I hope you can help me. (I'm sorry for not the greatest English grammar)

tame valley
#

Nvm

#

You load a non existent animation

worn ridge
#

That's strange, I'll see if it works if I use the same animation for the npc on the player

tame valley
#

Why tf do you have so much trash in such a simple scriptcrying

#

I got lost

tame valley
#

Oh yeah it is

worn ridge
#

Yeah It's located in StarterGui

tame valley
worn ridge
tame valley
#

It should be in the part Imo but it doesn't really matter Ig

worn ridge
#

This makes me think of what If i send a remote even on server and then on server force player to animate?

#

Yep it still doesn't work if the player and NPC have same animation

tame valley
#

Oh I see so dumb lol

#

U try loading the animation from the humanoid

worn ridge
#

Yeah because animator is in there? I'm lost xd

tame valley
#

U forgot to say . Animator after Humanoid

#

Last line

#

It should be: player.Character.Humanoid.Animator:LoadAnimation(PlayerAnim)

#

Or :WaitForChild("Animator")

#

@worn ridge

worn ridge
#

OHHHH

#

I didn't realize that at all xD

#

Thank you

tame valley
worn ridge
worn ridge
#

@tame valley I just saw that my character is still R15 in workspace, why didn't that change if in settings is R6

worn ridge
#

Thank you :D

dry wraith
#

np

worn ridge
#

IT WORKS NOW WOOOHOOO