You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want to know how I can change a player’s skin color to a different color when the player touches a specific part.
-
What is the issue? I’m not a good scripter and I don’t know how I would go about changing the player’s skin color when you touch a specific part.
-
What solutions have you tried so far? I’ve looked everywhere and I can’t seem to find a solution…
I’m sorry if this is a dumb question… thanks.
Kaid3n22
(Kaiden)
#2
for i, v in pairs(plr.Character:GetChildren()) do
if v:IsA("BasePart") then
v.Color = --whatever color you want
end
end
workspace.Part.Touched:Connect(function(hit)
local skin = Color3.new(value,value,value)
local colors = hit.Parent:FindFirstChild("Body Colors")
if colors then
colors.HeadColor3 = skin
colors.LeftArmColor3 = skin
colors.RightArmColor3 = skin
colors.LeftLegColor3 = skin
colors.RightLegColor3 = skin
colors.TorsoColor3 = skin
end)
2 Likes
system
(system)
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.