✓ Accepted answer
Go to WeaponsSystem module script under the WeaponsSystem folder. Scroll down to line 427 where it says:
local function _defaultDamageCallback(system, target, amount, damageType, dealer, hitInfo, damageData)
if target:IsA("Humanoid") then
target:TakeDamage(amount)
end
end
Change that entire function to:
local function _defaultDamageCallback(system, target, amount, damageType, dealer, hitInfo, damageData)
local player = game.Players:GetPlayerFromCharacter(target.Parent)
if not player and target:IsA("Humanoid") then
target:TakeDamage(amount)
end
end
Let me know if that works.
1 comment
Thanks Alot, it works now :D