When I test the game, this appears in the output:
15:25:56.297 - Players.MinecraftButterfly87.PlayerGui.LocalScript:14: Expected ')' (to close '(' at line 8), got <eof>
This is what's in the scipt:
local debounce = false
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
if debounce == false then
debounce = true --Now your code will not run, because debounce is not false.
mouse.KeyDown:connect(function(key)
if key == "e" then
print("Pressed e")
wait(5)
debounce = false --Now your code will run again.
end)
end

2 comments
Well, it works, but the debounce doesn't, ha.
If it fixes your problem then mark this as the solution, if your script doesnt work then you can make a new question for fixing it if you dont know how to