Im Trying To Make A Script Where You Click A TextButton And When You Click The TextButton And Ur Humanoid Touches The Part In Workspace U Get 5+ Speed

this is the script in the textbutton:

local debounce = false
local plr = game.Players.LocalPlayer
local PunchBag = game.Workspace.PunchBag

script.Parent.MouseButton1Click:Connect(function()
PunchBag.Touched:Connect(function(hit)
if hit and hit.PunchBag:FindFirstChild(“Humanoid”) then
plr.leaderstats.Speed.Value = plr.leaderstats.Speed.Value + 5
end
end)
end)

local debounce = false
local plr = game.Players.LocalPlayer
local PunchBag = game.Workspace.PunchBag
local canpunch = false

script.Parent.MouseButton1Click:Connect(function()
canpunch = true
task.wait(0.1)
canpunch = false
end)
PunchBag.Touched:Connect(function(hit)
if hit and hit.PunchBag:FindFirstChild(“Humanoid”) and canpunch == true then
plr.leaderstats.Speed.Value = plr.leaderstats.Speed.Value + 5
end
end)

local deb = false
local PunchBack = game.Workspace:FindFirstChild("PunchBag")
local player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:Connect(function()
	if not deb then
		task.wait(0.5)
		deb = false
	end
	PunchBack.Touched:Connect(function(hit)
		if hit.Parent:FindFirstChild("Humanoid") then
			wait(0.5)
			deb = true
			player.leaderstats.Speed.Value = player.leaderstats.Speed.Value + 5
				print(player.Name.."Touched!")	
	
          end
		
	end)
end)