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 » Building Helpers
Home Search
 

Re: Tool

Previous Thread :: Next Thread 
johnhugh is not online. 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
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
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 is not online. 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 is not online. 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
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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