Fe Gun Kit Unequip and Aim Problem

I have a Problem with the Fe Gun Kit. when I equip the gun and go in first person everything works, but when I unequip it and then aim everything including the arms and gun just goes away and all I’m left with is the aim cursor. Please help I have been trying to fix It for days\

robloxapp-20220616-1521158.wmv (5.8 MB)

I suggest you don’t use free models because it looks bad. Maybe learn how to make your own guns would be helpful by using raycasts.

Anyways the solution is unknown because I don’t have the source code.

its not really a free model i mean sure it is but Its only the code I made the animations and every thing else

I Figured it out so basically at the top of the ViewmodelHandle script your gonna type:
local AimPointCF = nil

then your gonna wanna find this line around 160:

AimCFrame = Viewmodel.PrimaryPart.CFrame:ToObjectSpace(CurrentAimPoint.CFrame):Inverse()

you gonna copy the code below and paste it in for the code above then the offset should stop after you unequip and re-equip the gun, one thing I noticed might happen is that you might need to re-position your Aimpoint to a different part of the gun even tho its not lined up when you position it is when you aim so just mess around with that if you have to.

if CurrentAimPoint then
local CF = Viewmodel.PrimaryPart.CFrame:ToObjectSpace(CurrentAimPoint.CFrame):Inverse()
if AimPointCF ~= nil then
AimCFrame = AimPointCF
else
AimCFrame = CF
AimPointCF = CF
end
end

overall your script should look something like this:

2 Likes