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

Is it possible to change a body parts color and material upon death?

I am making a custom knife for a game. After the humanoid dies I want to change the body parts material and color. I do not even know where to begin, or if it is even possible

2 comments

1

It is possible. You would modify the player's character when their humanoid died,via server script (Or using remote events from a localscript).

0

Okay

1 answer

Reshiram110 is correct. I'll provide you with a few links.

Died event Material BrickColor

You may also need a for loop, but it's not exactly necessary. You can use it to make every single BasePart in a character a certain color and material.

In case you want another explanation, here's how I would approach it. Using the Died event, I'd use a for loop to change the body parts material and color, but since you appear to be a beginner, you can write out each line for each body part.

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