Where do I put the end/bracket?

this is so simple but there is red lines at the end and its not telling me why

local remote = game.ReplicatedStorage.Give

script.Parent.Equipped:Connect(function()
	if script.Parent.Equipped then
				game.Players.LocalPlayer:GetMouse().Button1Down:Connect(function()

				script.Disabled = true
			remote:FireServer()
		end

please help.

local remote = game.ReplicatedStorage.Give

script.Parent.Equipped:Connect(function()

	if script.Parent.Equipped then
		
		game.Players.LocalPlayer:GetMouse().Button1Down:Connect(function()

			script.Disabled = true
			remote:FireServer()
		end)
	end
end)

Hey there! You may want to look into The features the script editor provides!

The script editor has a bunch of useful tools to help you figure things like this out, click “Format Document” and it will indent your entire script, which mean you can find what indents have no end indicator on them!

image_2022-09-06_011903901