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: welding?

Previous Thread :: Next Thread 
crazyzee is not online. crazyzee
Joined: 24 Aug 2010
Total Posts: 275
23 Mar 2012 08:48 PM
ok i dont know how to weld can someone teach me ?
Report Abuse
XhappysmileX is not online. XhappysmileX
Joined: 22 Feb 2009
Total Posts: 124
23 Mar 2012 08:50 PM
What a vague question. Here's a vague, random answer:

local p1, p2 = Workspace.Part1, Workspace.Part2

local w = Instance.new("Weld")
w.Parent = game.JointsService
w.Part0 = p1
w.Part1 = p2
w.C1 = w.Part1.CFrame:toObjectSpace(w.Part0.CFrame)
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
23 Mar 2012 08:51 PM
http://wiki.roblox.com/index.php/Welds

~When life gives you lemons, you say 'I ain't even mad'.~
Report Abuse
crazyzee is not online. crazyzee
Joined: 24 Aug 2010
Total Posts: 275
23 Mar 2012 08:54 PM
im srry i meant i want to weld something on my hand and i would need a handle for it.
Report Abuse
crazyzee is not online. crazyzee
Joined: 24 Aug 2010
Total Posts: 275
23 Mar 2012 08:59 PM
b uuuuuuuuuuuuummmmmmmmmmmpppppppp
Report Abuse
crazyzee is not online. crazyzee
Joined: 24 Aug 2010
Total Posts: 275
23 Mar 2012 09:02 PM
hello? can someone help me?
Report Abuse
XhappysmileX is not online. XhappysmileX
Joined: 22 Feb 2009
Total Posts: 124
23 Mar 2012 09:05 PM
Here...put it inside the tool...

script.Parent.Equpped:connect(function(mouse) -- How useless this argument is.
for i,v in pairs(script.Parent:GetChildren())
if v:IsA("BasePart") and v ~= script.Parent.Handle then
local p1, p2 = script.Parent.Handle, v
local w = Instance.new("Weld")
w.Parent = game.JointsService
w.Part0 = p1
w.Part1 = p2
w.C1 = w.Part1.CFrame:toObjectSpace(w.Part0.CFrame)
end
end
end)
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