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

Changing the StarterCharacter model mid game?

Asked by 4 years ago
Edited 4 years ago

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.

0
I like this question and I wanted to know as well; I hope this bumps this question. BlackOrange3343 2676 — 4y
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. XxTrueDemonxX 362 — 4y

1 answer

Log in to vote
-1
Answered by 4 years ago

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
0
This really should be a comment and doesn't solve the question. BlackOrange3343 2676 — 4y
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. XxTrueDemonxX 362 — 4y
Ad

Answer this question