Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
|
| 11 Jul 2014 02:31 AM |
leftpanel.HairStyle.Left.MouseButton1Down:connect(function() print("Clicked!") repeat wait() until char:FindFirstChild("Hair") repeat wait() until char.Hair:FindFirstChild("Weld") player.PlayerGui:FindFirstChild("CreateCharacter").Subject.Value = "Head" if b==1 then char.Hair.Mesh.MeshId = "" b=2 elseif b==2 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=47963332" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1,1,0.81) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0,-.07,0) b=3 elseif b==3 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=26400959" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1,1,1.03) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0,-.04,0) b=4 elseif b==4 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1,1,1.03) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0.05,-.03,-0.2) b=5 elseif b==5 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16627529" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1.05,1.05,1.05) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0,-.04,0) b=6 elseif b==6 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=72424418" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1.1,1,1) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0,-.04,-0.3) b=7 elseif b==7 then char.Hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999424" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1.07,1.07,1.07) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0.071,-.03,-0.1) b=8 elseif b==8 then char.Hair.Mesh.MeshId = "http://roblox.com/asset/?id=82186933" char.Hair:FindFirstChild("Mesh").Scale = Vector3.new(1.05,1.05,1.05) char.Hair:FindFirstChild("Weld").C0 =CFrame.new(0.05,-.02,0) b=9 end end)
See it works, just not the Welds and Vector3 part. It doesn't change the scale and the weld.C0.. Help? ~Tynexx |
|
|
| Report Abuse |
|
| |
|
| 11 Jul 2014 02:43 AM |
| What is it supposed to do? |
|
|
| Report Abuse |
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
|
| 11 Jul 2014 09:34 PM |
if b==1 then the hair(Part) finds the weld and changes it C0. And finds the mesh's scale, and change it. ~Tynexx |
|
|
| Report Abuse |
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
| |