Hello DevForum,
I am working for a game that uses Thienbao2109’s FE Weapon Kit, and I need to know how I can make the code detect whenever a character is killed with a gun. The issue is that I have never used this weapon kit before and I’m still not 100% sure how things are handled after reading through the code. I have done some research on the forum as well but I couldn’t find what I needed.
I tried editing this module script thinking it could be used to achieve this but it did not work.
return function(OnHitEventData, TaggerCharacter, TargetHumanoid, Damage, IsHeadshot, IsCritical, Tool)
if IsCritical then
print("Kill") -- doesn't print
end
end
I’m pretty much stuck right now, and I could use the slightest of help. Any ideas of solutions is very much appreciated. If there is something that needs clarification on, then please let me know. Thank you in advance!