My script only works in solo player and not in multiplayer. How do I fix this?
Hi, each time I try and run a animation onto a NPC, it works in studio however it never works when I play the actual game multiplayer. I've experienced this a few times, often I can fix it but this time I couldn't. Is there any chance someone could help me out?
1 | local Anim = script.Parent:WaitForChild( 'Animate' ) |
3 | repeat wait() until Anim |
5 | local AnimTrack = script.Parent.Humanoid:LoadAnimation(Anim) |
This is the code I had. Thank you to anyone who answers