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

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

Asked by 7 years ago
Edited 7 years ago

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

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). Reshiram110 147 — 7y
0
Okay DiamondDylan2112 0 — 7y

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
7 years ago

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.

Ad

Answer this question