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

How to change a Player's Character?

I want to change a Player's Character to a custom character that I have created, i don't want Players to change into it when they join so don't tell me to put it into StarterPlayer, My game requires a random Player selected and the Player's Character changed into that character

1 answer

✓ Accepted answer

Stuff like this is kinda tedious to work with, but I'll help you regardless.

local targetCharacter --Assign this to your desired player
local newCharacter --Assign this to the desired model
newCharacter = newCharacter :Clone()
newCharacter .Name = targetCharacter .Name
newCharacter .Parent = workspace
targetCharacter = newCharacter

In a localscript somewhere you need to fix their camera

local camera = workspace.CurrentCamera
camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
camera.CameraType = Enum.CameraType.Custom

2 comments

1

I was able to easily work with this, thanks

1

no problem!

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