johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 10 May 2013 10:25 PM |
I have a tool that consists of Handle and Handle2 They are both welded to each other and do not touch each other The first time I equip my tool it works fine. If I deselect the tool and re-select it, handle2 falls out of the map and is deleted. WHY?! D: |
|
|
| Report Abuse |
|
|
|
| 10 May 2013 10:48 PM |
Maybe the weld script dissappeared when you turned off the tool. So you turn it back on and it has no welds.
The best way to fix this would probably be running the weld script before saving the weapon. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 10 May 2013 11:41 PM |
I used a plugin to weld it, and I know how to script, but I've never used a weld script. How do I do it?
(I know this is like scripting helpers stuff but I'm already here T.T)
I think this is right: p = Instance.new("Weld") p.Parent = game.StarterPack.Flashlight.Handle p.Part0 = game.StarterPack.Flashlight.Handle p.Part1 = game.StarterPack.Flashlight.Handle2
How do I call a function for when It is un-equipped?
If needed I will go to scripting helpers for this |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 10 May 2013 11:51 PM |
| I'll go ahead and post this is scripting helpers. See ya |
|
|
| Report Abuse |
|
|
|
| 11 May 2013 12:25 AM |
I would just use crazyman32's autoweld script. Insert it in the model and run the script by pressing play in studio. Then save the welded model and script the welded weapon.
This way the weld doesn't have to run during the loading of your game.
I have tried and tried the wiki method for welding with no results. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 11 May 2013 12:32 AM |
| If I press the play button in my game it would be a disaster |
|
|
| Report Abuse |
|
|
69scott69
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 6136 |
|
|
| 11 May 2013 01:30 AM |
Do it in an empty place with just the tool model. Press Play, and then click Publish Selection to Roblox. Save it as a model, then insert it into your game as a model. It will ask if you want to put it in the workspace or the backpack. |
|
|
| Report Abuse |
|
|