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: Arm Welding

Previous Thread :: Next Thread 
StormRecon is not online. StormRecon
Joined: 15 Aug 2010
Total Posts: 2214
27 Dec 2012 03:56 PM
Can someone explain to me how to use C1 when you're doing an Arm Weld script?

-IG Emperor-
Report Abuse
ninja5566 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
27 Dec 2012 03:57 PM
a = Instance.new("Weld")
a.Name ="ArmWeld"
a.Part0 = game.Workspace[player].Torso --Change to the directory of the torso
a.Part1 = game.Worskapce[player]["Right Arm"] --Any arm or leg.
a.C0 = CFrame.new(0.3,0,0)
a.Parent = game.Workspace[player]
Report Abuse
StormRecon is not online. StormRecon
Joined: 15 Aug 2010
Total Posts: 2214
27 Dec 2012 03:58 PM
I know how to do that, but why 0.3?

-IG Emperor-
Report Abuse
ninja5566 is not online. ninja5566
Joined: 14 Jan 2009
Total Posts: 5233
27 Dec 2012 04:03 PM
0.3 will shift it to the left if i'm correct, which means it will look like the arm however when you use 0,0,0 it will put it in the middle of the torso, so we will shift it to the left 0.3.
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
27 Dec 2012 04:07 PM
C0 sets the CFrame of Part0 away from Part1;
C1 sets the CFrame of Part1 away from Part2.
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