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

how would i replace a characters appearance with models? (if you can)

Asked by 4 years ago
Edited 4 years ago

so i got some models for the players appearance but i dont know how to make it so the player switches to the appearance.

server

function onPlayerRespawned(newPlayer)
    while true do
        if newPlayer.Character ~= nil then break end
        wait(.5)
    end

-- what do i do here?

end

function onPlayerEntered(newPlayer)
    newPlayer.Changed:connect(function (property)
        if (property == "Character") then
            onPlayerRespawned(newPlayer)
        end
    end)
end

game.Players.PlayerAdded:connect(onPlayerEntered)
1
spawn character, create custom humanoid controller Fifkee 2017 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

Not sure if this is exactly what you want, but this basically allows you to change the players avatar

First you need to get the model and put it into StarterPlayer. Name that model StarterCharacter. Then you need to put a humanoid into StarterPlayer and name that StarterHumanoid. After that when you play it should be replaced with StarterCharacter.

0
it works fine but i also need a randomizer since i have multiple character models speedyfox66 237 — 4y
Ad

Answer this question