I want to turn my lightsaber into a tool. It only has two parts.
However, when I test in-game, the tool is in the player’s inventory, but when opened it appears on the other side of the workspace, and not in the players hand.
I’ve watched a few videos, and downloaded a few plugins – like one called “Weld Plugin,” but it doesn’t work. I’m so confused I can’t even explain, this is honestly just a pain in the neck.
Name the tool whatever you want. Don’t put the parts in a model, keep them separate, and put each part inside the tool. Then name one of those part’s Handle.
If you watch this Video, at 3:57 look at the explorer tab and your sword should look like that, with the tool then a part named handle inside of it.
You’ll need to weld the two parts together. You can either add in a script, use a plugin, or for simplicity, you can use a Weld Constraint
For the Weld Constraint, add it in through the object window (or right-click and search for an object to insert) and parent it in the tool or the Handle. Make sure the Part0 and Part1 are set, doesn’t matter if one is the handle or the blade.
Once its all set, make sure all the parts are unanchored and you should be good to go.
Highlight the Weld Constraint and look into the property explorer tab, you should see Part0 and Part1. Click on the empty slot and then select a part to start the weld connection. Repeat for the next setting and it should work.
Theres a few ways to fix that. Since you’re using a tool, you can play with the Grip property values in your Tool. Looks a little something like this:
Alternatively, you can use your new-found knowledge of Weld Constraints to also do what most people who make weapons with Tools do. Typically, they make a {1,1,1} sized part and name it Handle. This fake handle will be the part you weld everything else to. This allows you to customize the rotation and look of your weapons without playing with the Grip properties.