for D,V in ipairs(buttons)do V.MouseEnter:Connect(function()onButtonEnter(V)end)V.MouseLeave:Connect(function()onButtonLeave(V)end)end

for _, button in ipairs(buttons) do
	button.MouseEnter:Connect(function() onButtonEnter(button) end)
	button.MouseLeave:Connect(function() onButtonLeave(button) end)
end
