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

loading a players character to an already exsisting character model?

I have this function, but it wont work, any tips?

I can't use startercharacter because it only changes one players character

function module.test(plr)
	plr:LoadCharacter(workspace["Disease Models"]["Mumps"]["Dummy"])
end

2 comments

1

plr.CanLoadCharacterAppearnace = false

1

Appearance*

2 answers

You can add the character model to StarterPlayer and name it StarterCharacter

1 comment

0

looking for a script that changes only one players character

If only one player would have the character, you can do this:

script.Parent.ClickDetector.MouseClick:Connect(function(player)
	player.CanLoadCharacterAppearance = false -- Make sure to do this
	player:LoadCharacter(workspace["Disease Models"]["Mumps"]["Dummy"])
end)

As you said, this script changes the character of the player who clicked the ClickDetector (which is hopefully only one player).

3 comments

0

this loads the character as a blank character

0

^ player*

0

try setting the Humanoid's health to 0 first....

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