generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Welds, Meshes and Vector3.new

Previous Thread :: Next Thread 
Tynexx is not online. 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
DhatBoiiPapi is not online. DhatBoiiPapi
Joined: 27 May 2013
Total Posts: 701
11 Jul 2014 02:39 AM
.
Report Abuse
DhatBoiiPapi is not online. DhatBoiiPapi
Joined: 27 May 2013
Total Posts: 701
11 Jul 2014 02:43 AM
What is it supposed to do?
Report Abuse
Tynexx is not online. 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 is not online. Tynexx
Joined: 11 Jul 2012
Total Posts: 1559
11 Jul 2014 09:57 PM
bsmpz
~Tynexx
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image