Character appearance changer

I wrote a function that changes your character’s appearance to look like somebody else without needing to respawn. I looked into getting it to switch between R6 and R15 but that ended up being complicated, so it doesn’t do that. Here’s the code

and an uncopylocked demo place

say avatar/username or avatarid/userid to change your avatar.

6 Likes

Look in free models “R15 Package Changer” and snip the code from that. That’s what I had to do with my Load Character plugin. I can agree that it was extremely difficult to try and figure it out and even reading the snippet from the free model, I still don’t understand it.

I already solved that myself, what I haven’t made is something to change the character between R6 and R15.

2 Likes

Do you mean keep them alive while changing from R6 to R15?

Very cool!

Just a heads up: When I’m in the testing place and change my appearance it also makes me walk to a random location.

The person you’re changing your character to might be R15 when your character is R6, or their character might be R6 while yours is R15. Currently, my code will retain your current rig type, rather than changing your rig type to match theirs. Changing it would require fetching the corresponding animate script, recalculating the hip height and reconstructing the joints with a different set of parts.

@cowbear16 that seems to be a bug that only occurs online. reparenting the humanoid causes it to walk toward the origin.

I had never really looked into the joints etc from characters however upon reading your code, I understand how everything works. This is great to know.

Actually it looks like there’s this new Humanoid method Documentation - Roblox Creator Hub which makes that function I pulled from the wiki obsolete.

perhaps this page should be updated

1 Like