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

Changing the StarterCharacter model mid game?

I am trying to make a script that lets you change your characters model. I have tried moving the model into StarterPlayer and naming it StarterCharacter then resetting but this sadly didn't work. Whenever I try change the Player.Character to the model the camera doesn't seem to follow it very well. Any ideas?

Another issue, if I change the Player.Character via the Server my player just respawns after 2 seconds.

2 comments

0

I like this question and I wanted to know as well; I hope this bumps this question.

0

Do you receive any sort of error when you're forced to respawn? I've changed the player.Character countless times without having issues with being made to respawn.

1 answer

Be sure that whenever you're changing player.Character to also have a Local Script changing the CurrentCamera's Subject to that of the new model's humanoid. For example:

workspace.CurrentCamera.CameraSubject = workspace.NewPlayerCharacter.Humanoid

2 comments

0

This really should be a comment and doesn't solve the question.

0

At the time of posting my answer, he had only stated that he was having issues with the camera. This was an answer to that specific problem.

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