Highlight going into other instances

My highlight is going to other parts that are touching the sword (handle)
This is different in studio where it is only the sword.

Theres no scripts messing around with the properties of the highlight
image

The properties

In studio
image
The highlight should be just going to the sword

1 Like

What happens if you apply the Highlight to only the sword mesh?

5 Likes

Same result happens, highlights whole body, and also

2 Likes

Dumb idea but maybe move the Highlight into the mesh and see if the same thing happens.

3 Likes

Thats why the guy above just said and ive already tried it, but its fine

3 Likes

Oh my bad. I liked the post and thought I read it but oops

2 Likes

Ah maybe try setting the Adornee property do the highlight to the mesh.

Maybe by default it just highlights all of the instances ancestors til it reaches the workspace, or not

1 Like

I believe i had done that earlier. this is a strange case because it works in studio but not in game

2 Likes

Hm weird. Maybe it’s something with how it’s rendered in game. I read on the documentation how it’s rendered differently depending on what platform you’re using or something like that but I’m doubtful that you’re using a different platform than a PC to test it.

Strange.

1 Like

I think highlights use everything under a model.

Try using the adornee property.

I have done that aand the problem still haappens

1 Like

Make sure the highlight is only inside the handle of the sword and the adornee is this sword handle.

1 Like

ive dont that, it could be a rendering problem like doom3d said but i dont think it is

1 Like

Then what you can try is to parent the sword under a model within the tool.
It’s not ideal, but I think Tool->Handle->Model->Sword should work as a hierarchy.

‘Handle’ is a hidden part that’s just used to make the tool work.
‘Sword’ would be your current Handle.

Don’t forget to weld Handle and Sword together.

2 Likes

this unfortunately doesnt work

Make sure you test it in game. I found highlights to be very buggy in studio, to the point where they would highlight other parts. For me this fixed itself when playtesting.

Can you show the model, and it’s explorer?

Finally try it without a tool, maybe it just doesn’t work with tools?

Doing this solution kinda breaks the sword
The sword is also a copy of the Classic Sword by roblox

Explorer:
image
If this is needed, the sword uses a special mesh for the sword.

Weld ‘Handle’ to the ‘Sword’ using a WeldConstraint (+ make sure their cframes are the same).
Then move all children of ‘Sword’ except the Mesh to ‘Handle’. That should fix the scripts.

Or rewrite the script to use Handle.Model.Sword instead of Handle.