FE Gun kit lighting bug

Hello readers,

I’m making a fps game and I keep running into a lighting but that makes shadows disappears and reappears within milliseconds, I sounds small but it hurts the texture and feel of the game.

Does anyone know a fix, I can’t find any anywhere.

robloxapp-20221119-1801417.wmv (3.9 MB)

2 Likes

I’ve never seen a gun kit with an ammo counter anchored to the gun, did you add that yourself?

I sure did! Its a surface gui that’s updated with the onscreen ui.

Most edits of FE gunkit viewmodel has this issue, it might have something to do with the viewmodel im not too sure.

hihi there, yes this bug was a long term and it doesn’t occur with the low graphics but the fix that community members have contributed had identified that the Viewmodel is trying to set the max CFrame value to it’s maximum which is infinite.

The fix is to edit it in Modules > ViewmodelHandler
find viewmodel.PrimaryPart.CFrame until you find the highlighted ones containing math.huge

Replace 3 of these to 10e8

1 Like

Sorry for the late response,

Thank you for helping me solve my issue with the lighting, I am very grateful for your help. Have a very nice day!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.