local debounce = false
script.Parent.MouseButton1Click:Connect(function()
PunchBack.Touched:Connect(function(hit)
if debounce == false then
if hit.Parent:FindFirstChild(“Humanoid”) then
player.leaderstats.Speed.Value = player.leaderstats.Speed.Value + 5
print(player.Name..“ Touched!”)
debounce = true
wait(3)
debounce = false
end
end
end)
Edit note: I don’t see that you called “player” in the script.
Another note: Reply me if you try it please