Ik the title is misleading but there is no way to say this otherwise.
so I have a script that when a player clicks on a certain part of the body will change what part they are editing but no matter the part selected it only will edit the head of the player.
--Variables local h = script.Parent.Parent.Parent.edit_label.Part.Value --head if h == "Head" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end --torso if h == "Torso" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end --larm if h == "Larm" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end --rarm if h == "Rarm" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end --lleg if h == "Lleg" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end --rleg if h == "Rleg" then script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.Data.headcolor.Value = script.Parent.Name script.Parent.Parent.Parent.Hat.BackgroundColor3 = Color3.fromRGB(27, 42, 53) end) end