|
| 24 Sep 2015 04:35 PM |
i want to put hair on a players head player = game.Players.LocalPlayer player.CanLoadCharacterAppearance = false
script.Parent.Clicks.Changed:connect(function() if script.Parent.Clicks.Value == 1 then player.Hair.Value = 1 for i,v in pairs(player.Character:GetChildren()) do if v.ClassName == "Hat" then v:Destroy() end local Aurbun = game.ReplicatedStorage.GG:Clone() Aurbun.Parent = player.Character end end if script.Parent.Clicks.Value == 2 then player.Hair.Value = 2 for i,v in pairs(player.Character:GetChildren()) do if v.ClassName == "Hat" then v:Destroy() end local Beut = game.ReplicatedStorage.Beut:Clone() Beut.Parent = player.Character end end end)
My names apoc halp |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2015 05:00 PM |
| Please stop posting code and ask a real question. Sorry, but being able to debug your own code is a skill you can only get through practice. You'll find the bug eventually. But ask a specific question rather than just posting some code. |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2015 02:28 AM |
the questions in the title
My names apoc halp |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 25 Sep 2015 02:33 AM |
| Why are you doingthis local instead of the server? |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2015 10:06 AM |
hmm ok ill do it on the server
My names apoc halp |
|
|
| Report Abuse |
|
|