ive been trying to find a fix for my hair gui but it wont work, so basically theres a image button with the picture of the hair so when you click it the picture it shows up on your head, heres my script :~~~~~~~~~~~~~~~~~ function onButtonClicked() game.Players.LocalPlayer.leaderstat.Hat.Value = 10 if game.Players.LocalPlayer.leaderstat.Hat.Value == 10 then hair = game.ReplicatedStorage.CBeauty:Clone() hair.Name = "Hair" hair.Parent = game.Players.LocalPlayer.Character local w = Instance.new("Weld") w.Part0 = game.Players.LocalPlayer.Character.Head w.Part1 = hair w.Parent = game.Players.LocalPlayer.Character.Head w.C0 = w.C0 * CFrame.new(-0,-0.5,0.2)*CFrame.fromEulerAnglesXYZ(0, math.pi, 0) wait(0.3) elseif game.Players.LocalPlayer.leaderstat.Hat.Value ~= 10 then hair:Remove() end end
script.Parent.MouseButton1Click:connect(onButtonClicked)
I dont know whats wrong with it, or maybe im not putting it in right... Someone help?

4 comments
"or if it does it's in the workspace" - by that I meant you can't change your appearance in game.Players, only in game.Workspace (or I just don't know much)
well here's a fact that might be useful, if you put the script in game.StarterPlayer.StarterCharacterScripts, the script will automatically parent to your name in the workspace (it will parent to me like game.Workspace.Jack_Hase )
When I look back 18 days ago... I see what you are trying to do, you can find the humanoid in game.Workspace.Jack_Hase.Humanoid or game.Players.LocalPlayer.Character.Humanoid
Another month later I fully understand your question. This shouldn't be the answer