Why Isn't This Debounce Working?

local deb = false
local player = game.Players.LocalPlayer
local char = player.Character

script.Parent.MouseButton1Click:Connect(function()
if deb == false then
deb = true
wait(10)
deb = false
if char:FindFirstChild(“Humanoid”) then
script.Parent.Text = “Respawning In 9”
wait(1)
script.Parent.Text = “Respawning In 8”
wait(1)
script.Parent.Text = “Respawning In 7”
wait(1)
script.Parent.Text = “Respawning In 6”
wait(1)
script.Parent.Text = “Respawning In 5”
wait(1)
script.Parent.Text = “Respawning In 4”
wait(1)
script.Parent.Text = “Respawning In 3”
wait(1)
script.Parent.Text = “Respawning In 2”
wait(1)
script.Parent.Text = “Respawning In 1”
wait(1)
script.Parent.Text = “Return To Spawn”
char.Head.CFrame = CFrame.new(game.Workspace.SafeZone.Position)
end
end)

Sorry, what? Please add more information on the thread. Also you are using debounce incorrectly.
Here I made your script more effiecent and far more read-able:

local deb = false
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()

script.Parent.MouseButton1Click:Connect(function()
	if deb == false then
		if char:FindFirstChild("Humanoid") then
			for count = 1, 9 do
				script.Parent.Text = 'Respawning in '..10-count
				task.wait(1)
			end
			char.Head.CFrame = CFrame.new(game.Workspace.SafeZone.Position)
			script.Parent.Text = 'Return to Spawn'
		end
		
		end
	end)

I kept your debounce variable incase you need it later.