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

How could you make a model and clone it to the player and make the player the model?

For example, I put the model I made in Replicated Storage and I clone it and parent it to the player. This is what I thought of but the player does not become the model. I even tried to clone hair to a player without hair and it just puts the hair in the player but it is not on the player. Here is the script.

Player = game.Players.LocalPlayer
function MB1D()
local Morph = game.ReplicatedStorage.Natsu:clone()
Morph.Parent = Player.Character
end
script.Parent.MouseButton1Down:connect(MB1D)

Keep in mind I want to make the player the model I made.

2 comments

0

Is the model the same as a normal ROBLOX character but with your own hats / clothing / etc?

0

Yes

1 answer

✓ Accepted answer

You're putting the model inside of the current character instead of changing the character into the model.

It should look like this:

local Player=game.Players.LocalPlayer
script.Parent.MouseButton1Down:connect(function()
	local Morph=game.ReplicatedStorage.Natsu:Clone()
	Morph.PrimaryPart=Morph:FindFirstChild("Torso")
	Morph:SetPrimaryPartCFrame(Player.Character.Torso.CFrame)
	Player.Character=Morph
	workspace.CurrentCamera.CameraSubject=Morph
	Morph.Parent=workspace
end)

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