Fishing Rod glitch killing all players

That’s very weird… Does it kill you sometimes?

I haven’t died yet, i tried something like 30 times, maybe the game itself has something that could cause bugs :thinking:
Honestly the fishing rod itself seems fine.

I hopped in your game and tried fishing, i experienced the bug when the fish i killed gave me the tool “Meat” (the others didn’t drop anything), surely has to do something with that.

Also a little offtopic tip, make your game less bright, at daytime it’s hard to look at the water because it’s really bright.

the meat is going in the ground somehow.

Also, the meat script was working before the fishing rod update

Oh, didn’t notice that, anyways, as soon as i got the tool “meat” i died, that’s probably the source of the bug. If you want to send the script that manages tool drops from fishes and maybe if there’s any script inside the meat.

By the way, meat only shows up when the player dies. The fish drop “Fish”

local humanoid = script.Parent:WaitForChild("Humanoid")
local torso = script.Parent:WaitForChild("Torso") -- this is assuming the npc model has a Torso

humanoid.Died:Connect(function()
    local clone = game.ReplicatedStorage.ToolsDrops.Fish:Clone()
    clone.Parent = workspace
    clone.Handle.Position = torso.Position

end)
script.Parent.Handle.Touched:Connect(function()
if script.Parent.Parent == workspace then
	wait(10)
	if script.Parent.Parent == workspace then
		script.Parent:Destroy()
	else
		return
	end
  end
end)
script.Parent.Handle.Touched:Connect(function()

local brick = script.Parent.Handle

if script.Parent.Handle:FindFirstChild("Fire") then

wait(3)

brick.BrickColor = game.ReplicatedStorage.ToolsDrops.CookedMeat.BrickColor

end

end)
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")

Players = game:GetService("Players")
Debris = game:GetService("Debris")

Grips = {
	Normal = CFrame.new(0.300000012, 0, 0, 0.217036337, 0, 0.976163626, 90, 1, -0, -0.976163507, 0, 0.217036366),
	Eating = CFrame.new(0.75949999988, 0.05575999999, 1.39999998, 0.217036337, -90, -5.976163626, 0, 1, 0, 10.976163507, -0, 10.217036366),
}

Sounds = {
	Open = Handle:WaitForChild("Open"),
	Drink = Handle:WaitForChild("Drink"),
}

ToolEquipped = false

Tool.Grip = Grips.Normal
Tool.Enabled = true

function Activated()
	if not Tool.Enabled or not ToolEquipped or not CheckIfAlive() then
		return
	end
	
	Tool.Enabled = false
	
	Tool.Grip = Grips.Eating
	
	Sounds.Drink:Play()
	
	if ToolUnequipped then
		ToolUnequipped:disconnect()
	end
	
	local CurrentlyEquipped = true
	
	ToolUnequipped = Tool.Unequipped:connect(function()
		CurrentlyEquipped = false
	end)
	
	wait(0.8)
	
	if CurrentlyEquipped and CheckIfAlive() then
		Humanoid.Health = (Humanoid.Health + 1.6)
	end
	
	Tool.Grip = Grips.Normal
	
	Tool.Enabled = true

end

function CheckIfAlive()
	return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
end

function Equipped()
	Character = Tool.Parent
	Player = Players:GetPlayerFromCharacter(Character)
	Humanoid = Character:FindFirstChild("Humanoid")
	if not CheckIfAlive() then
		return
	end
	ToolEquipped = true
	Sounds.Open:Play()
end

function Unequipped()
	Tool.Grip = Grips.Normal
	for i, v in pairs(Sounds) do
		v:Stop()
	end
	if ToolUnequipped then
		ToolUnequipped:disconnect()
	end
	ToolEquipped = false
end

Tool.Activated:connect(Activated)
Tool.Equipped:connect(Equipped)
Tool.Unequipped:connect(Unequipped)

Those are all the scripts inside of meat except for the one that puts meat in workspace

1 Like

Where’s this script located? Out of all of those it’s the only one that could kill a player, this bug is so hard to find dang.

in the tool instance kinda like: Fish.Despawn

Try this
script.Parent.Handle.Touched:Connect(function()
if script.Parent.Parent == workspace then
wait(10)
if script.Parent.Parent == workspace then
if script.Parent:FindFirstChild(“humanoid”) or script.Parent.Parent:FindFirstChild(“humanoid”) then return end
script.Parent:Destroy()
else
return
end
end
end)

If the fish has a humanoid then make sure that the player doesnt exist by adding an if statement

1 Like

I still died from the fishing rod without even touching the meat

My mistake sorry
Try this
script.Parent.Handle.Touched:Connect(function(otherpart)
if script.Parent.Parent == workspace then
wait(10)
if script.Parent.Parent == workspace then
if otherpart.Parent:FindFirstChild(“humanoid”) or otherpart.Parent.Parent:FindFirstChild(“humanoid”) then return end
script.Parent:Destroy()
else
return
end
end
end)

wait I didnt touch the meat though

Wyere is the script lotated send a screenshot of the explorer

1 Like

well I kind of told you it was the child of the fish tool