Players.CreateHumanoidModel should not create the Animate script

(this doesn’t fit into the format because its a simple change with a problem)

Right now, if you use the two methods to create new humanoid models in Players, that being CreateHumanoidModelFromDescription and CreateHumanoidModelFromUserId, they create a LocalScript named Animate.

For the most part, I use these methods to create server rigs of characters, where this script will never run, and makes no sense being there. Even if the model’s intended purpose is to be used as a player’s character, the script wont start due to a different bug that I’m sure’s been reported.

TLDR; It doesn’t make sense for these methods to create the Animate script, since it has no usecase on the server, and it doesn’t run on the client due to bugs.

1 Like

There are games that probably use this feature and expect an Animate script to be present, this would most likely break alot of games that used these features, a simpler solution is to just delete the Animate script yourself.

1 Like

a simpler solution would actually be to just let the developer specify in the method calls that they don’t want default scripts included.