Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

##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 comment

1

spawn character, create custom humanoid controller

1 answer

✓ Accepted answer

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.

1 comment

0

it works fine but i also need a randomizer since i have multiple character models

This discussion is preserved as it was. New answers, comments, and votes are closed.