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

How do you make a character into a part?

Asked by 10 years ago

I started to learn how to script like a week ago and I was just wondering on how you would make a character into a part? People have given me:

local char = game.Workspace.Character
game.Players.LocalPlayer.Character = char
game.Workspace.CurrentCamera.CameraSubject = char.Humanoid

I have made a Model with a Head and a Humanoid. What should I replace Characterwith?

Thanks, WiseDumbledore

1 answer

Log in to vote
0
Answered by 10 years ago

Just replace it with the name of your model. If your model is called "CustomCharacter", you'd use

local char = game.Workspace.CustomCharacter

It will only work if that model is located in workspace.

Ad

Answer this question