Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to generate a Model of a player but instead only generates parts of it. Why does it do this?

Asked by 4 years ago
Edited 4 years ago

I'm using a TextBox for the player to type a username in and a TextButton for a function to run that generates the player model that the player had entered.

The script is a LocalScript inside the TextButton.

script.Parent.MouseButton1Click:Connect(function()
    local NewPlayer = Players:GetUserIdFromNameAsync(script.Parent.Parent.TextBox.Text)
    print(NewPlayer)

    local appearanceModel = game.Players:GetCharacterAppearanceAsync(NewPlayer)
    appearanceModel.Parent = game.Workspace
    appearanceModel:MoveTo(Vector3.new(30.315, 2.454, -78.375))
end)

The code can find the accessories/hats of the searched player. If the player isn't using the default package (1.0) then it spawns the package that the user has but unanchored and falls into pieces. If the user is a 1.0, the code only spawns in the accessories/hats. If they have any non 1.0 limbs, it spawns the limbs too.

here's a gif of how it's generated: https://gyazo.com/5724ebfe492c4b4515898993c48a1f37

I want a full Model of the searched player. Full body, Accessories, basically everything.

0
i got the same result User#29913 36 — 4y
0
hmm i think the Motor6D that connect character aren't created for you when the model is loaded.. try anchoring it once it's created, then observe to see wheeather or not Motor6Ds are present User#23252 26 — 4y

Answer this question