I am designing a custom character maker and at 1 point I duplicate the character of the player and place it infront of a camera, it works but I wanna make it more appealing by letting the cloned character have animations from the character but I just get the character look like a still stick.
1 Like
Normally your players characters animations would be controlled by a LocalScript inside the player, however the local script for controlling the animations would not work in non-player characters as there is not Player associated with it.
You can fix this by creating the animation controller script from a Script as opposed to a Local Script, you can do this by:
- Run the game
- Go into your character, grab the Animation Local Script, copy it and leave the playtest
- Paste the Animation Local Script back down, and copying all the children into a new Script
- Now copy the contents of the Animate Local Script into the new script.
- Place this new script into the character model and it should work fine.
8 Likes
does it work if we put the animate script(ServerScript Version) into the startercharacterscript?