I want to create a players’ character in-game but I looked at the page on GetCharacterAppearanceAsync, it says this item has been deprecated. What can I use instead?
Probably this, it works a bit differently I believe:
https://developer.roblox.com/en-us/api-reference/function/Players/GetHumanoidDescriptionFromUserId
How would this work? As in putting it in a script?
The function retrieves a HumanoidDescription when a UserID is inputted in. You can use ApplyHumanoidDescription to make a character have the same items and clothing etc. as the user you are replicating.
It worked, but it doesn’t insert the animate script and the health script.
You can clone those yourself by keeping copies of them in ServerStorage.
I want them to be the players’ own personal animations.
You could clone them from the player’s character.
I’ve done that but now the character’s anchored even if I unanchor all the parts.
Make sure not to remove the scripts from the character, simply do
local new = Animate:Clone()
new.Parent = ServerStorage
(pseudocode)
No, I’ve done that, but now the character’s anchored even if I unanchor all the parts.
Hm, that’s odd. Can you send a screenshot of your Explorer?
It’s exactly like a normal character would spawn in.
I wasn’t able to replicate this by cloning the Health and Animate script into ServerStorage. Is your Output printing anything?
No, it works fine it’s just anchored and I don’t known why.
But it doesn’t matter because I’m using a different method.