#Advertisement

1 messages · Page 1 of 1 (latest)

unkempt flower
#

@crimson bolt so i need create PrimaryPart, or what is this?

crimson boltBOT
# unkempt flower <@1082069574901563453> so i need create PrimaryPart, or what is this?

Yes, you need to set the PrimaryPart in the Tool object. The PrimaryPart is a crucial element that helps the Roblox engine position and orient the weapon in your character's hand correctly. Here's how to set it:

  1. Make sure the "Handle" part is appropriately positioned within the gun model, and it is a child of the Tool object in your game hierarchy.
  2. Select the Tool object in the game hierarchy.
  3. In the Properties panel on the right, locate the "PrimaryPart" property.
  4. Click on the small circle next to the "PrimaryPart" property to open a window showing a list of the Tool's parts.
  5. Select the "Handle" part from this list window. This sets the Tool's PrimaryPart as the "Handle" part you created earlier.

After setting the PrimaryPart, make sure to also adjust the grip position and orientation as mentioned in my previous response. This will help you position the weapon correctly in your character's hand when equipped.

Advertisement

Buy a NordVPN subscription and support @trentbot's continued operation. It's the safest way to browse online!

unkempt flower
crimson boltBOT
# unkempt flower <@1082069574901563453>Did i need to put the tool object in starterpack

Yes, you should place the Tool object in the StarterPack to ensure players receive the tool when they join the game. The StarterPack is a service that contains items that will be automatically replicated into the backpacks of new players. By placing the Tool in the StarterPack, every player joining the game will have the tool in their backpack.

Here's how you can place your Tool object in the StarterPack:

  1. In the Explorer tab, locate the StarterPack folder under the Workspace folder.
  2. Select the Tool object you created earlier, either from Workspace or from any other location in your game hierarchy.
  3. Click and hold the left mouse button while dragging the Tool object, then move it over StarterPack and release the left mouse button.

Now, your Tool will be automatically given to new players when they join the game, and they can equip it by clicking on the tool in their backpack.

Advertisement

xp4r is the best way to advertise on reddit. Better than reddit's built-in advertising system, and cheaper too!

unkempt flower
crimson boltBOT
# unkempt flower <@1082069574901563453> why when I take a weapon from the inventory, I only have ...

It sounds like you have an issue with the weapon's parts not being properly parented to the character when it is equipped. When you equip a weapon, you want the entire weapon (all its parts) to be parented to the character's hand.

To fix this issue, make sure that all parts of the weapon are properly parented to the Tool object:

  1. In the Explorer tab, look for your weapon Tool object.
  2. Make sure that all individual parts of the weapon are placed under the Tool object, making it the parent of these parts.

Additionally, check the following:

A. Ensure that the Tool's "Handle" property is set correctly:

  1. In the Explorer tab, select your weapon's Tool object.
  2. In the Properties tab, locate the "Handle" property.
  3. Set the "Handle" property to the main part of your weapon (usually the handle or grip part) by clicking on the arrow (dropdown) and selecting the part from the list of available parts.

B. Verify the attachment and positioning of the equipped weapon:

  1. In the Explorer tab, select your weapon's handle part.
  2. Make sure the handle part has a "WeldConstraint" or "Motor6D" instance attached to it, which is responsible for connecting the weapon parts to the character's hand.
  3. Set the "Part0" and "Part1" properties of the WeldConstraint (or Motor6D) to the character's hand or arm parts, such that the weapon moves together with the hand.

After making these changes, try testing the weapon again. The entire weapon should now appear in your character's hand when equipped, and the parts should no longer separate.

Advertisement

Buy a NordVPN subscription and support @trentbot's continued operation. It's the safest way to browse online!

unkempt flower
crimson boltBOT
unkempt flower
#

@crimson bolt where is handle property,and where i need to click say again

crimson boltBOT
# unkempt flower <@1082069574901563453> where is handle property,and where i need to click say ag...

I apologize for the confusion earlier. To give you an accurate answer on where to find the "handle property," I need more information about the context or software you are using. Please provide more context or clarify the software or platform you're working with so that I can guide you better.

Advertisement

xp4r is the best way to advertise on reddit. Better than reddit's built-in advertising system, and cheaper too!

unkempt flower
#

@crimson bolt Tutorial me again how to do gun