Quest System Problem

Alright. So I have 4 fields, containing blocks that you can click on. When you click on the block, the quest updates. Example: 25 Blocks need to be clicked on field 1. (When Clicked once: 24 blocked need to be clicked on field 1).
But, there are quests that only need certain areas. So, when you click on a different area, the quest accidentally updates the code.
However, even with some coding, I still can’t figure it out. I tried to make the script to see if the quest is the quest you are on.
Example: if Quest.Value == 3 then --UPDATE THE QUEST However, it did not work.

Note: Every script below is a different local script located in the GUI Button to open the quest gui.

Here is what the Quest GUI looks like:
image

In Game:
image

Scripts:
image

Quest 1:

local player = game.Players.LocalPlayer


--GUI
local BackgroundQuest = script.Parent.BackgroundQuestBBH
local Background = script.Parent.Parent
local Goal1 = BackgroundQuest.Goal1
local Goal2 = BackgroundQuest.Goal2
local Goal3 = BackgroundQuest.Goal3
local Goal4 = BackgroundQuest.Goal4
local Progress1 = BackgroundQuest.Progress1
local Progress2 = BackgroundQuest.Progress2
local Progress3 = BackgroundQuest.Progress3
local Progress4 = BackgroundQuest.Progress4
local QuestName = BackgroundQuest.QuestName
local Completed = BackgroundQuest.Completed


print("Activated")
local BBHfolder = player:WaitForChild("BBHQuest")
local Currency = player:WaitForChild("Currency")
local Items = player:WaitForChild("Items")
local Multiplier = player:WaitForChild("Multiplier")
print("A")

-- Available Rewards
local Chiikens = Currency:WaitForChild("Chiikens")
local Carrot = Items:WaitForChild("Carrots")
local Multiplier = player:WaitForChild("Multiplier")
local Uncooked = Currency:WaitForChild("UncookedChiikens")
print("B")
--Current

local CubeField = BBHfolder:WaitForChild("CubeField")
local SphereicalField = BBHfolder:WaitForChild("SphericalField")
local WedgeField = BBHfolder:WaitForChild("WedgeField")
local CylinderField = BBHfolder:WaitForChild("CylinderField")
local Quest = BBHfolder:WaitForChild("Quest")
local QuestActivated = BBHfolder:WaitForChild("QuestActivated")
local QuestFinished = BBHfolder:WaitForChild("QuestFinished")
print("C")

--Required

local SphericalFieldRequired = BBHfolder:WaitForChild("SphericalFieldRequired")
local CubeFieldRequired = BBHfolder:WaitForChild("CubeFieldRequired")
local CylinderFieldRequired = BBHfolder:WaitForChild("CylinderFieldRequired")
local WedgeFieldRequired = BBHfolder:WaitForChild("WedgeFieldRequired")
print("D")

script.Parent.MouseButton1Click:Connect(function()
	
	
	if Quest.Value == 0 then
		BackgroundQuest.Visible = true
		
		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Goal4.Visible = true
		
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Progress4.Visible = true
		QuestName.Text = "Go check out Baby Bonhomme for quests!"	
	end
	
	
	if Quest.Value == 1 and QuestActivated.Value == true then
		BackgroundQuest.Visible = true
		QuestName.Text = "The Starting Point"
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = false
		Goal4.Visible = false
		Progress3.Visible = false
		Progress4.Visible = false
		
		if CubeField.Value >= CubeFieldRequired.Value then
			Progress1.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
			end
		else
			if Quest.Value == 1 and QuestActivated.Value == true then
				Goal1.Text = "Collect 25 Chiikens from the Cube Field"
				Progress1.Text = CubeField.Value.."/"..CubeFieldRequired.Value
				Completed.Text = "Not Completed"
			end
		end
		
		if SphereicalField.Value >= SphericalFieldRequired.Value then
			Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
			Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
			end
		else
			if Quest.Value == 1 and QuestActivated.Value == true then
				Goal2.Text = "Collect 25 Chiikens from the Spherical Field"
				Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
				Completed.Text = "Not Completed"
			end
		end
	end
end)
	
	



CubeField.Changed:Connect(function()
	if Quest.Value == 1 and QuestActivated.Value == true then -- FIRST QUEST
		Goal3.Visible = false
		Goal4.Visible = false
		Progress3.Visible = false
		Progress4.Visible = false

		if CubeField.Value >= CubeFieldRequired.Value and Quest.Value == 1 and QuestActivated.Value == true then -- FRAME 1
			Progress1.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 1 and QuestActivated.Value == true then
				Goal1.Text = "Collect 25 Chiikens from the Cube Field"
				Progress1.Text = CubeField.Value.."/"..CubeFieldRequired.Value
				Completed.Text = "Not Completed"
			end
		end
	end
	
end)



SphereicalField.Changed:Connect(function()
	if Quest.Value == 1 and QuestActivated.Value == true then -- FIRST QUEST
		Goal3.Visible = false
		Goal4.Visible = false
		Progress3.Visible = false
		Progress4.Visible = false

		if SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 1 and QuestActivated.Value == true then -- SECOND FRAME
			Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
			Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 1 and QuestActivated.Value == true then
				Goal2.Text = "Collect 25 Chiikens from the Spherical Field"
				Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
				Completed.Text = "Not Completed"
			end
		end
	end
end)


Quest.Changed:Connect(function(player)

	if Quest.Value == 0 and QuestActivated.Value == false then
		--BackgroundQuest.Visible = true

		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)

		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Goal4.Visible = true

		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Progress4.Visible = true
		QuestName.Text = "Go check out Baby Bonhomme for quests!"	
		Completed.Text = "Go check out Baby Bonhomme for quests!"
		Completed.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
	end
	
	
end)



Quest 2:

local player = game.Players.LocalPlayer


--GUI
local BackgroundQuest = script.Parent.BackgroundQuestBBH
local Background = script.Parent.Parent
local Goal1 = BackgroundQuest.Goal1
local Goal2 = BackgroundQuest.Goal2
local Goal3 = BackgroundQuest.Goal3
local Goal4 = BackgroundQuest.Goal4
local Progress1 = BackgroundQuest.Progress1
local Progress2 = BackgroundQuest.Progress2
local Progress3 = BackgroundQuest.Progress3
local Progress4 = BackgroundQuest.Progress4
local QuestName = BackgroundQuest.QuestName
local Completed = BackgroundQuest.Completed


print("Activated")
local BBHfolder = player:WaitForChild("BBHQuest")
local Currency = player:WaitForChild("Currency")
local Items = player:WaitForChild("Items")
local Multiplier = player:WaitForChild("Multiplier")
print("A")

-- Available Rewards
local Chiikens = Currency:WaitForChild("Chiikens")
local Carrot = Items:WaitForChild("Carrots")
local Multiplier = player:WaitForChild("Multiplier")
local Uncooked = Currency:WaitForChild("UncookedChiikens")
print("B")
--Current

local CubeField = BBHfolder:WaitForChild("CubeField")
local SphereicalField = BBHfolder:WaitForChild("SphericalField")
local WedgeField = BBHfolder:WaitForChild("WedgeField")
local CylinderField = BBHfolder:WaitForChild("CylinderField")
local Quest = BBHfolder:WaitForChild("Quest")
local QuestActivated = BBHfolder:WaitForChild("QuestActivated")
local QuestFinished = BBHfolder:WaitForChild("QuestFinished")
print("C")

--Required

local SphericalFieldRequired = BBHfolder:WaitForChild("SphericalFieldRequired")
local CubeFieldRequired = BBHfolder:WaitForChild("CubeFieldRequired")
local CylinderFieldRequired = BBHfolder:WaitForChild("CylinderFieldRequired")
local WedgeFieldRequired = BBHfolder:WaitForChild("WedgeFieldRequired")
print("D")


script.Parent.MouseButton1Click:Connect(function()
	
	
	if Quest.Value == 2 and QuestActivated.Value == true then
		Completed.Text = "Not Completed"
		BackgroundQuest.Visible = true
		QuestName.Text = "Cubes and Other Shapes"
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Goal4.Visible = false
		Progress4.Visible = false
		
		
		
		if CubeField.Value >= CubeFieldRequired.Value then
			Progress1.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 2 and QuestActivated.Value == true then
				Goal1.Text = "Collect 50 Chiikens from the Cube Field"
				Progress1.Text = CubeField.Value.."/"..CubeFieldRequired.Value
			end
		end
		
		
		
		
		if SphereicalField.Value >= SphericalFieldRequired.Value then
			Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
			Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if SphereicalField.Value >= SphericalFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 2 and QuestActivated.Value == true then
				Goal2.Text = "Collect 50 Chiikens from the Spherical Field"
				Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
			end
		end
		
		
		
		
		
		if CylinderField.Value >= CylinderFieldRequired.Value then
			Progress3.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value 
			Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if CylinderField.Value >= CylinderFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme"
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 2 and QuestActivated.Value == true then
				Goal3.Text = "Collect 50 Chiikens from the Cylinder Field"
				Progress3.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
			end
		end
	end
end)

Quest.Changed:Connect(function()
	if Quest.Value == 2 and QuestActivated.Value == false then
		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		
		Completed.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Completed.Text = "Interact with Baby Bonhomme for the next quest!"
	end
end)


CubeField.Changed:Connect(function()
	if CubeField.Value >= CubeFieldRequired.Value and Quest.Value == 2 and QuestActivated.Value == true then
		Progress1.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
		Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 2 and QuestActivated.Value == true then
			Goal1.Text = "Collect 50 Chiikens from the Cube Field"
			Progress1.Text = CubeField.Value.."/"..CubeFieldRequired.Value
		end
	end
end)


SphereicalField.Changed:Connect(function()
	if SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 2 and QuestActivated.Value == true then
		Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
		Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if SphereicalField.Value >= SphericalFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme"
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 2 and QuestActivated.Value == true then
			Goal2.Text = "Collect 50 Chiikens from the Spherical Field"
			Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
		end
	end
end)


CylinderField.Changed:Connect(function()
	if CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 2 and QuestActivated.Value == true then
		Progress3.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value 
		Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if CylinderField.Value >= CylinderFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme"
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 2 and QuestActivated.Value == true then
			Goal3.Text = "Collect 50 Chiikens from the Cylinder Field"
			Progress3.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
		end
	end
end)

Quest 3:

local player = game.Players.LocalPlayer


--GUI
local BackgroundQuest = script.Parent.BackgroundQuestBBH
local Background = script.Parent.Parent
local Goal1 = BackgroundQuest.Goal1
local Goal2 = BackgroundQuest.Goal2
local Goal3 = BackgroundQuest.Goal3
local Goal4 = BackgroundQuest.Goal4
local Progress1 = BackgroundQuest.Progress1
local Progress2 = BackgroundQuest.Progress2
local Progress3 = BackgroundQuest.Progress3
local Progress4 = BackgroundQuest.Progress4
local QuestName = BackgroundQuest.QuestName
local Completed = BackgroundQuest.Completed


print("Activated")
local BBHfolder = player:WaitForChild("BBHQuest")
local Currency = player:WaitForChild("Currency")
local Items = player:WaitForChild("Items")
local Multiplier = player:WaitForChild("Multiplier")
print("A")

-- Available Rewards
local Chiikens = Currency:WaitForChild("Chiikens")
local Carrot = Items:WaitForChild("Carrots")
local Multiplier = player:WaitForChild("Multiplier")
local Uncooked = Currency:WaitForChild("UncookedChiikens")
print("B")
--Current

local CubeField = BBHfolder:WaitForChild("CubeField")
local SphereicalField = BBHfolder:WaitForChild("SphericalField")
local WedgeField = BBHfolder:WaitForChild("WedgeField")
local CylinderField = BBHfolder:WaitForChild("CylinderField")
local Quest = BBHfolder:WaitForChild("Quest")
local QuestActivated = BBHfolder:WaitForChild("QuestActivated")
local QuestFinished = BBHfolder:WaitForChild("QuestFinished")
print("C")

--Required

local SphericalFieldRequired = BBHfolder:WaitForChild("SphericalFieldRequired")
local CubeFieldRequired = BBHfolder:WaitForChild("CubeFieldRequired")
local CylinderFieldRequired = BBHfolder:WaitForChild("CylinderFieldRequired")
local WedgeFieldRequired = BBHfolder:WaitForChild("WedgeFieldRequired")
print("D")


script.Parent.MouseButton1Click:Connect(function()
	
	
	if Quest.Value == 3 and QuestActivated.Value == true then
		
		Completed.Text = "Not Completed"
		BackgroundQuest.Visible = true
		QuestName.Text = "Potato Wedges!"
		Goal1.Visible = true
		Goal2.Visible = false
		Goal3.Visible = false
		Progress1.Visible = true
		Progress2.Visible = false
		Progress3.Visible = false
		Goal4.Visible = false
		Progress4.Visible = false
		
		if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 3 and QuestActivated.Value == true then
			warn("QUEST3")
			Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 3 and QuestActivated.Value == true then 
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			warn("QUEST3")
			if Quest.Value == 3 and QuestActivated.Value == true then
				Goal1.Text = "Collect 85 Chiikens from the Wedge Field"
				Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
			end
		end
		
	end
	
end)






Quest.Changed:Connect(function()
	if Quest.Value == 3 and QuestActivated.Value == false then
		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)

		Completed.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Completed.Text = "Interact with Baby Bonhomme for the next quest!"
	end
end)

WedgeField.Changed:Connect(function()
	warn("QUEST3")
	if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 3 and QuestActivated.Value == true then
		Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
		Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 3 and QuestActivated.Value == true then 
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 3 and QuestActivated.Value == true then
			Goal1.Text = "Collect 85 Chiikens from the Wedge Field"
			Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
		end
	end
end)

Quest 4:

local player = game.Players.LocalPlayer


--GUI
local BackgroundQuest = script.Parent.BackgroundQuestBBH
local Background = script.Parent.Parent
local Goal1 = BackgroundQuest.Goal1
local Goal2 = BackgroundQuest.Goal2
local Goal3 = BackgroundQuest.Goal3
local Goal4 = BackgroundQuest.Goal4
local Progress1 = BackgroundQuest.Progress1
local Progress2 = BackgroundQuest.Progress2
local Progress3 = BackgroundQuest.Progress3
local Progress4 = BackgroundQuest.Progress4
local QuestName = BackgroundQuest.QuestName
local Completed = BackgroundQuest.Completed


print("Activated")
local BBHfolder = player:WaitForChild("BBHQuest")
local Currency = player:WaitForChild("Currency")
local Items = player:WaitForChild("Items")
local Multiplier = player:WaitForChild("Multiplier")
print("A")

-- Available Rewards
local Chiikens = Currency:WaitForChild("Chiikens")
local Carrot = Items:WaitForChild("Carrots")
local Multiplier = player:WaitForChild("Multiplier")
local Uncooked = Currency:WaitForChild("UncookedChiikens")
print("B")
--Current

local CubeField = BBHfolder:WaitForChild("CubeField")
local SphereicalField = BBHfolder:WaitForChild("SphericalField")
local WedgeField = BBHfolder:WaitForChild("WedgeField")
local CylinderField = BBHfolder:WaitForChild("CylinderField")
local Quest = BBHfolder:WaitForChild("Quest")
local QuestActivated = BBHfolder:WaitForChild("QuestActivated")
local QuestFinished = BBHfolder:WaitForChild("QuestFinished")
print("C")

--Required

local SphericalFieldRequired = BBHfolder:WaitForChild("SphericalFieldRequired")
local CubeFieldRequired = BBHfolder:WaitForChild("CubeFieldRequired")
local CylinderFieldRequired = BBHfolder:WaitForChild("CylinderFieldRequired")
local WedgeFieldRequired = BBHfolder:WaitForChild("WedgeFieldRequired")
print("D")


script.Parent.MouseButton1Click:Connect(function()
	
	if Quest.Value == 4 and QuestActivated.Value == true then
		BackgroundQuest.Visible = true
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Completed.Text = "Not Completed"
		QuestName.Text = "Base 10 Blocks"
		
		
		
		if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then
			print("QUEST4WARN")
			warn("QUEST4")
			Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end 
		else
			if Quest.Value == 4 and QuestActivated.Value == true then
				Goal1.Text = "Collect 1 Chiikens from the Wedge Field"
				Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
			end
		end
		
		
		
		if SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then
			Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value 
			Goal2.BackgroundColor3 =  Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end 
		else
			if Quest.Value == 4 and QuestActivated.Value == true then
				Goal2.Text = "Collect 10 Chiikens from the Spherical Field"
				Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
			end
		end
		
		
		
		if CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then
			Progress3.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value
			Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 4 and QuestActivated.Value == true then
				Goal3.Text = "Collect 100 Chiikens from the Cylinder Field"
				Progress3.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
			end
		end
	end
	
end)	


Quest.Changed:Connect(function()
	if Quest.Value == 4 and QuestActivated.Value == false then 
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Goal4.Visible = false
		Progress4.Visible = false
		
		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		
		Completed.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Completed.Text = "Check with Baby Bonhomme for a new quest!"
	end
end)





WedgeField.Changed:Connect(function()
	warn("QUEST5")
	if WedgeField.Value >= WedgeFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then 
		Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
		Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end 
	else
		if Quest.Value == 4 and QuestActivated.Value == true then
			Goal1.Text = "Collect 1 Chiikens from the Wedge Field"
			Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
		end
	end
end)





SphereicalField.Changed:Connect(function()
	if SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then
		Progress2.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value 
		Goal2.BackgroundColor3 =  Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end 
	else
		if Quest.Value == 4 and QuestActivated.Value == true then
			Goal2.Text = "Collect 10 Chiikens from the Spherical Field"
			Progress2.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
		end
	end
end)





CylinderField.Changed:Connect(function()
	if CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value == true then
		Progress3.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value
		Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and Quest.Value == 4 and QuestActivated.Value then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 4 and QuestActivated.Value == true then
			Goal3.Text = "Collect 100 Chiikens from the Cylinder Field"
			Progress3.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
		end
	end
end)

Quest 5:

local player = game.Players.LocalPlayer


--GUI
local BackgroundQuest = script.Parent.BackgroundQuestBBH
local Background = script.Parent.Parent
local Goal1 = BackgroundQuest.Goal1
local Goal2 = BackgroundQuest.Goal2
local Goal3 = BackgroundQuest.Goal3
local Goal4 = BackgroundQuest.Goal4
local Progress1 = BackgroundQuest.Progress1
local Progress2 = BackgroundQuest.Progress2
local Progress3 = BackgroundQuest.Progress3
local Progress4 = BackgroundQuest.Progress4
local QuestName = BackgroundQuest.QuestName
local Completed = BackgroundQuest.Completed


print("Activated")
local BBHfolder = player:WaitForChild("BBHQuest")
local Currency = player:WaitForChild("Currency")
local Items = player:WaitForChild("Items")
local Multiplier = player:WaitForChild("Multiplier")
print("A")

-- Available Rewards
local Chiikens = Currency:WaitForChild("Chiikens")
local Carrot = Items:WaitForChild("Carrots")
local Multiplier = player:WaitForChild("Multiplier")
local Uncooked = Currency:WaitForChild("UncookedChiikens")
print("B")
--Current

local CubeField = BBHfolder:WaitForChild("CubeField")
local SphereicalField = BBHfolder:WaitForChild("SphericalField")
local WedgeField = BBHfolder:WaitForChild("WedgeField")
local CylinderField = BBHfolder:WaitForChild("CylinderField")
local Quest = BBHfolder:WaitForChild("Quest")
local QuestActivated = BBHfolder:WaitForChild("QuestActivated")
local QuestFinished = BBHfolder:WaitForChild("QuestFinished")
print("C")

--Required

local SphericalFieldRequired = BBHfolder:WaitForChild("SphericalFieldRequired")
local CubeFieldRequired = BBHfolder:WaitForChild("CubeFieldRequired")
local CylinderFieldRequired = BBHfolder:WaitForChild("CylinderFieldRequired")
local WedgeFieldRequired = BBHfolder:WaitForChild("WedgeFieldRequired")
print("D")


script.Parent.MouseButton1Click:Connect(function()
	if Quest.Value == 5 and QuestActivated.Value == true then
		
		BackgroundQuest.Visible = true
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Progress4.Visible = true
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Goal4.Visible = true
		Completed.Text = "Not Completed"
		QuestName.Text = "50 of Each"
		
		if WedgeField.Value >= WedgeFieldRequired.Value then
			Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
			Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 5 and QuestActivated.Value == true then
				Goal1.Text = "Collect 50 Chiikens from the Wedge Field"
				Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
			end
		end
		
		
		
		if CylinderField.Value >= CylinderFieldRequired.Value then
			Progress2.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value
			Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 5 and QuestActivated.Value == true then
				Goal2.Text = "Collect 50 Chiikens from the Cylinder Field"
				Progress2.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
			end
		end
		
		
		
		if CubeField.Value >= CubeFieldRequired.Value then
			Progress3.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
			Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 5 and QuestActivated.Value == true then
				Goal3.Text = "Collect 50 Chiikens from the Cube Field"
				Progress3.Text = CubeField.Value.."/"..CubeFieldRequired.Value
			end
		end 
		
		
		
		if SphereicalField.Value >= SphericalFieldRequired.Value then
			Progress4.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
			Goal4.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
				Completed.Text = "Completed! Turn it in to Baby Bonhomme."
				Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
			end
		else
			if Quest.Value == 5 and QuestActivated.Value == true then
				Goal4.Text = "Collect 50 Chiikens from the Spherical Field"
				Progress4.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
			end
		end 
	end
end)


Quest.Changed:Connect(function()
	if Quest.Value == 5 and QuestActivated.Value == false then 
		Progress1.Visible = true
		Progress2.Visible = true
		Progress3.Visible = true
		Goal1.Visible = true
		Goal2.Visible = true
		Goal3.Visible = true
		Goal4.Visible = false
		Progress4.Visible = false

		Goal1.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal2.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal3.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Goal4.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)

		Completed.BackgroundColor3 = Color3.new(0.768627, 0.368627, 0.309804)
		Completed.Text = "Check with Baby Bonhomme for a new quest!"
	end
end)

SphereicalField.Changed:Connect(function()
	if SphereicalField.Value >= SphericalFieldRequired.Value then
		Progress4.Text = SphericalFieldRequired.Value.."/"..SphericalFieldRequired.Value
		Goal4.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 5 and QuestActivated.Value == true then
			Goal4.Text = "Collect 50 Chiikens from the Spherical Field"
			Progress4.Text = SphereicalField.Value.."/"..SphericalFieldRequired.Value
		end
	end 
end)



CubeField.Changed:Connect(function()
	if CubeField.Value >= CubeFieldRequired.Value then
		Progress3.Text = CubeFieldRequired.Value.."/"..CubeFieldRequired.Value
		Goal3.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 5 and QuestActivated.Value == true then
			Goal3.Text = "Collect 50 Chiikens from the Cube Field"
			Progress3.Text = CubeField.Value.."/"..CubeFieldRequired.Value
		end
	end 
end)



CylinderField.Changed:Connect(function()
	if CylinderField.Value >= CylinderFieldRequired.Value then
		Progress2.Text = CylinderFieldRequired.Value.."/"..CylinderFieldRequired.Value
		Goal2.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 5 and QuestActivated.Value == true then
			Goal2.Text = "Collect 50 Chiikens from the Cylinder Field"
			Progress2.Text = CylinderField.Value.."/"..CylinderFieldRequired.Value
		end
	end
end)



WedgeField.Changed:Connect(function()
	warn("QUEST5")
	if WedgeField.Value >= WedgeFieldRequired.Value then
		Progress1.Text = WedgeFieldRequired.Value.."/"..WedgeFieldRequired.Value
		Goal1.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		if WedgeField.Value >= WedgeFieldRequired.Value and CylinderField.Value >= CylinderFieldRequired.Value and CubeField.Value >= CubeFieldRequired.Value and SphereicalField.Value >= SphericalFieldRequired.Value and Quest.Value == 5 and QuestActivated.Value == true then
			Completed.Text = "Completed! Turn it in to Baby Bonhomme."
			Completed.BackgroundColor3 = Color3.new(0.168627, 0.529412, 0.337255)
		end
	else
		if Quest.Value == 5 and QuestActivated.Value == true then
			Goal1.Text = "Collect 50 Chiikens from the Wedge Field"
			Progress1.Text = WedgeField.Value.."/"..WedgeFieldRequired.Value
		end
	end
end)

PLEASE ASK FOR CLARIFICATION!!!
thank you

(Note #2: I might read your comments, but I will not answer because of personal stuff)