Help with tool adding walkspeed script!

working on a thing when u click with a tool out it gives u +_ walkspeed then goes away after _ seconds here is my script

(Nothing is printed in the output)

local plr = game.Players.LocalPlayer
local debounce = false
local Timeout = 10
local AddedRunSpeed = 4
local RunSpeed = plr.Character:WaitForChild("Humanoid").WalkSpeed

script.Parent.Activated:Connect(function()
	plr:GetMouse().Button1Down:Connect(function()
		if debounce == false then
			debounce = true
			plr.Character:FindFirstChild("Humanoid").WalkSpeed += AddedRunSpeed
			wait(Timeout)
			plr.Character:FindFirstChild("Humanoid").WalkSpeed =  RunSpeed
			print(AddedRunSpeed.."WalkSpeed Added!")
		else
			debounce = false
			print("Plr Is On Cooldown")
			return
		end
	end)
end)

here is what the parenting looks like
Xnip2024-05-07_17-00-38

script.Parent.Activated already fires when the player clicks when the tool is equipped. You don’t need the Button1Down:Connect(function()).