local ReplicatedStorage = game:GetService("ReplicatedStorage")
local BulletEvent = ReplicatedStorage:WaitForChild("BulletEvent")
BulletEvent.OnServerEvent:Connect(function(Player,Target,Hit)
if Target.Parent:FindFirstChild("Humanoid") ~= false then
Target.Parent.Humanoid:TakeDamage(15)
end
end)
returns " Players.XTOOTHLESX.Backpack.Tool.Script:4: attempt to index nil with 'Parent' "

4 comments
Still returns the error
I think the problem is that the target itself is nil. Don't know how to fix that lol.
Probably because it's the same exact script
I have a local script that fires the RemoteEvent,