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
 

script

Previous Thread :: Next Thread 
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
09 Nov 2013 07:04 PM
This script only makes the arm and welds it to the player's character, but the arms can not move, It used to work, but not anymore

--LEFT ARM
leftarm = Instance.new("Part");
leftarm.Parent = game.Workspace.CurrentCamera;
leftarm.Material = "Plastic";
leftarm.BrickColor = BrickColor.new("Light orange");
leftarm.Shape = "Block";
leftarm.Anchored = false
leftarm.FormFactor = "Symmetric";
leftarm.Size = Vector3.new(1,2,1);
leftarm.BackSurface = "Smooth";
leftarm.BottomSurface = "Inlet";
leftarm.FrontSurface = "Smooth";
leftarm.LeftSurface = "Smooth";
leftarm.RightSurface = "Smooth";
leftarm.TopSurface = "Studs";
leftarm.Name = "fleftarm";
print("Left Arm Created")
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
leftarm.CFrame = script.Parent.Parent.Character["Left Arm"].CFrame

local function weldBetween(a, b)
local weld = Instance.new("Weld");
weld.Part0 = a;
weld.Part1 = b;
weld.C0 = CFrame.new();
weld.C1 = b.CFrame:inverse() * a.CFrame;
weld.Parent = a;
return weld;
end

leftarm.CFrame = script.Parent.Parent.Character["Left Arm"].CFrame;
leftarm:BreakJoints()
leftarm:MakeJoints()
weldBetween(game.Workspace.CurrentCamera.fleftarm,script.Parent.Parent.Character["Left Arm"]);



Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
09 Nov 2013 07:15 PM
bump
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