for m,o in pairs(Buttons:GetChildren())do if o.Name=="\066\117\116\116\111\110"then local m=o:WaitForChild("\080\114\111\120\105\109\105\116\121\080\114\111\109\112\116")m.Triggered:Connect(function()if o.Color==Color3.fromRGB(255,0,0)then o.Color=Color3.fromRGB(0,255,0)table.insert(ActivatedButtons,o)if#ActivatedButtons==Settings.Buttons then FloorConfiguration.TasksDone.Value=true end end end)end end
--//Controller//--
for _, Button in pairs(Buttons:GetChildren()) do
	if Button.Name == "Button" then
		local Trigger = Button:WaitForChild("ProximityPrompt")

		Trigger.Triggered:Connect(function()
			if Button.Color == Color3.fromRGB(255, 0, 0) then
				Button.Color = Color3.fromRGB(0, 255, 0)

				table.insert(ActivatedButtons, Button)

				if #ActivatedButtons == Settings.Buttons then
					FloorConfiguration.TasksDone.Value = true
				end
			end
		end)
	end
end
