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 » Scripters
Home Search
 

Re: Welding?

Previous Thread :: Next Thread 
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 09:47 PM
Part.CFrame = RightArm.CFrame * CFrame.new(-0.226,-0.085,0.866)
local Weld = Instance.new("Weld")
Weld.Parent = RightArm
Weld.Name = ("HoldPart")
Weld.Part0 = RightArm
Weld.C0 = RightArm.CFrame:inverse()
Weld.Part1 = PartOne
Weld.C1 = PartOne.CFrame:inverse()
PartOne.Anchored = false

The part does appear at the CFrame but the part dosen't move with the arm.

Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 09:48 PM
PartOne.CFrame = RightArm.CFrame * CFrame.new(-0.226,-0.085,0.866)
local Weld = Instance.new("Weld")
Weld.Parent = RightArm
Weld.Name = ("HoldPart")
Weld.Part0 = RightArm
Weld.C0 = RightArm.CFrame:inverse()
Weld.Part1 = PartOne
Weld.C1 = PartOne.CFrame:inverse()
PartOne.Anchored = false
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
18 Sep 2016 09:50 PM
###############################################################################################################################################################################################
Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 09:51 PM
hashtags?
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
18 Sep 2016 09:56 PM
my script was too good so roblox cencored it
Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 10:02 PM
so like, does anyone know why it does not move?
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
18 Sep 2016 10:14 PM
func/tion weld(/Arm,/Part,o/1,o2,/o3)
loca/l w1 = In/stanc/e.new("Wel/d")
w1.Pa/rent = /Part
w1.Pa/rt0 = Part
w/1.Part1 =/ Arm
w1./C1 = CF/rame/.new(o/1, o2/, o/3)
en/d
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
18 Sep 2016 10:14 PM
take out ever single / and then just use weld(arm,part,offset1,offset2,offset3)
Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 10:25 PM
local o1 = -0.226 local o2 = -0.085 local o3 = 0.866
function Weld(RightArm,CandyOne,o1,o2,o3)
local w1 = Instance.new("Weld")
w1.Parent = PartOne
w1.Part0 = PartOne
w1.Part1 = RightArm
w1.C1 = CFrame.new(o1, o2, o3)
end
Weld()

I tried this and it did'nt do anything, i'm not really sure what the offsets are
Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 10:26 PM
also this is my first attempt at welding
Report Abuse
ownedyou1 is not online. ownedyou1
Joined: 03 Jul 2008
Total Posts: 528
18 Sep 2016 10:31 PM
why did you edit the function


function weld(Arm,Part,o1,o2,o3) local w1 = Instance.new("Weld") w1.Parent = Part w1.Part0 = Part w1.Part1 = Arm w1.C1 = CFrame.new(o1, o2, o3) end Weld(RightArm,CandyOne,0,0,0)
Report Abuse
Racer107 is not online. Racer107
Joined: 13 Feb 2012
Total Posts: 165
18 Sep 2016 10:42 PM
It does the same thing where it won't move with the arm
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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