Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Wielding a model instead of a mesh in a tool isn't visible?

Asked by 7 years ago

Trying to make a normal sword swing with a model in the handler is that possible even? I tried putting the unions in the handle and the result was me handling a invisible sword and slashing...what I am trying is to make this model in my handle when I wield it I want the model to actually show

https://gyazo.com/fa17d59ee3f0cb17af262d6edc8efc01

The one in the left is the model I am trying to show when I wield the sword [ the one in the right ] instead of the sword mesh

and I already have the script for the slashing it works fine on the mesh and when I replace the mesh with handles like this https://gyazo.com/dae8445e6d90ffcde094382a835d9d15

and it doesn't show up when I handle it

oh and also I am trying to make it all as a tool so yea.. maybe that's the problem I don't really know.. I am trying my best to make it visible but a quick answer would be much appreciated.

If you want to test it out here is the model with the scripts and the swords here: https://www.roblox.com/library/586385443/Test

Your sincerely thanks and merry christmas!

  • Nullstudio

1 answer

Log in to vote
1
Answered by 7 years ago

I've reviewed your published models. The reason your model disappears is because it is not welded. In order for your tool to contain more parts than a Handle the excess parts must be welded (usually to the handle) via a script. Without the weld your sword will not be considered "connected" to the tool even though the parts are inside the tool. Excuse me if I misunderstood your question.

0
Do you have any site I can learn about that wield script? or any examples? Thanks! much appreciated. Nullstudio 32 — 7y
1
If you know how to weld you can use the :GetChildren() to weld all parts to the handle. Otherwise you can use my weld script as reference: https://www.roblox.com/library/529055596/Weapon-Weld-Script VinnyTheButcher 278 — 7y
Ad

Answer this question