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

How can I detect a players skin color?

Asked by 4 years ago

What I'm trying to do is my tool in Starter Pack has many different parts. I want it to detect the players skin color then change the parts BrickColor according the the players skin color but I don't know how to detect the players actual BrickColor

1 answer

Log in to vote
0
Answered by 4 years ago

You can just get the Color3 value from the players limbs.

local player = --Define the player here, either with game.Players.LocalPlayer if in local script, or something along the lines of game.Players.PlayerAdded:Connect() if using a script.

local playerskincolor = player.Character.Head.Color -- Simple as that. Now you can do something along the lines of part.Color = playerskincolor to change the parts color to your characters.
Ad

Answer this question