I’d like to use a skinned mesh as my Viewmodel for FE Gun Kit. I keep getting an error from the script
named GunScript_Local saying it can’t find Right & Left Arms. here’s a picture of the armature.
Script area for some genius,
And a picture of the tool.
Can someone tell me what to put in? I’m completely useless at scripting.
EDIT: I forgot to include a picture of VMArms. The RootPart is the bones.
We need an additional picture, what you’re showing us is different from the code. The code searches in the VMArms
Model
Did you forget to include armsample.arms
? The code looks for them inside the model, not inside the arms
Instance. Unless they’re created by a script
Where would I find ‘armsample.arms’?
armsample
is defined here:
arms
is here:
The script looks for the arms in the wrong place:
This should be
reweld.Parent = armsample.arms["Right Arm"]
-- etc
MrchipsMa
(MrchipsMan)
March 30, 2021, 4:28pm
#7
Are there parts named Right Arm and Left Arm in your armsample.arms
?
Would this be what you mean?
Yes, are the arms created by a script? If not, I don’t see them anywhere inside the Model
HiggzyFam
(Higgzy)
March 30, 2021, 4:33pm
#10
The ‘arms’ are the mesh of the arms attached to the bones.
Ok, so re-reading your original topic, you’re using an FE Kit right? The issue here might be that the FE kit was designed for R6 character models because of “Right Arm” and “Left Arm.” In order for it to be compatible with your viewmodel, you’d have to modify the code to fix it
1 Like
HiggzyFam
(Higgzy)
March 30, 2021, 4:40pm
#12
If I try and just make 2 parts called the Left Arm and Right Arm, would this break the animations?
I don’t believe so, the animations should be fine
1 Like
HiggzyFam
(Higgzy)
March 30, 2021, 4:42pm
#14
Thanks for helping me. It helped me understand how to do this.
1 Like
HiggzyFam
(Higgzy)
March 30, 2021, 5:44pm
#15
Actually it completely broke the gun lol.
banktoner
(bluric_32bit)
April 14, 2021, 12:24am
#16
i think that setup is wrong
It’s script is required “Right Arm” and “Left Arm” if you don’t have those it won’t work
you need to make sure the arms and fingers are separated if you want it to make the gun stable
PLUS: include the following part name
-Right Arm
-Left Arm
-AimPoint (New version)
-FakeCamera (New version)
banktoner
(bluric_32bit)
April 14, 2021, 12:30am
#17
and no it’s not only R6
FE Gun kit Viewmodel both supports R15 and R6